WizardMenuItem: increase icon size on mouse hover

This commit is contained in:
rating89us 2021-12-05 20:35:31 +01:00
parent bddb9b0050
commit 0d0e623bef
7 changed files with 8 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 B

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -63,6 +63,8 @@ RowLayout {
visible: !rowlayout.checkbox && (!isOpenGL || MoneroComponents.Style.blackTheme)
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
width: iconMouseArea.containsMouse || headerMouseArea.containsMouse || bodyMouseArea.containsMouse ? 65 : 60
height: iconMouseArea.containsMouse || headerMouseArea.containsMouse || bodyMouseArea.containsMouse ? 65 : 60
source: ""
}
@ -79,7 +81,9 @@ RowLayout {
}
MouseArea {
id: iconMouseArea
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
anchors.fill: parent
onClicked: {
rowlayout.menuClicked();
@ -110,7 +114,9 @@ RowLayout {
}
MouseArea {
id: headerMouseArea
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
anchors.fill: parent
onClicked: {
rowlayout.menuClicked();
@ -135,7 +141,9 @@ RowLayout {
themeTransition: false
MouseArea {
id: bodyMouseArea
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
anchors.fill: parent
onClicked: {
rowlayout.menuClicked();