mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-05-09 13:52:19 +00:00
WizardMenuItem: increase icon size on mouse hover
This commit is contained in:
parent
bddb9b0050
commit
0d0e623bef
7 changed files with 8 additions and 0 deletions
Binary file not shown.
Before ![]() (image error) Size: 1 KiB After ![]() (image error) Size: 968 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 2.1 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 848 B After ![]() (image error) Size: 812 B ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 1.7 KiB After ![]() (image error) Size: 1.5 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 1.4 KiB After ![]() (image error) Size: 1.4 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 3.3 KiB After ![]() (image error) 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();
|
||||||
|
|
Loading…
Reference in a new issue