WizardMenuItem: increase icon size on mouse hover
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -63,6 +63,8 @@ RowLayout {
|
||||||
visible: !rowlayout.checkbox && (!isOpenGL || MoneroComponents.Style.blackTheme)
|
visible: !rowlayout.checkbox && (!isOpenGL || MoneroComponents.Style.blackTheme)
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
width: iconMouseArea.containsMouse || headerMouseArea.containsMouse || bodyMouseArea.containsMouse ? 65 : 60
|
||||||
|
height: iconMouseArea.containsMouse || headerMouseArea.containsMouse || bodyMouseArea.containsMouse ? 65 : 60
|
||||||
source: ""
|
source: ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +81,9 @@ RowLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
id: iconMouseArea
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
hoverEnabled: true
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: {
|
onClicked: {
|
||||||
rowlayout.menuClicked();
|
rowlayout.menuClicked();
|
||||||
|
@ -110,7 +114,9 @@ RowLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
id: headerMouseArea
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
hoverEnabled: true
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: {
|
onClicked: {
|
||||||
rowlayout.menuClicked();
|
rowlayout.menuClicked();
|
||||||
|
@ -135,7 +141,9 @@ RowLayout {
|
||||||
themeTransition: false
|
themeTransition: false
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
id: bodyMouseArea
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
hoverEnabled: true
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: {
|
onClicked: {
|
||||||
rowlayout.menuClicked();
|
rowlayout.menuClicked();
|
||||||
|
|