diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-06-24 13:54:16 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-06-24 13:54:16 -0500 |
| commit | 59a0184ebddce9fc32f42b3b59f10cb941ec617f (patch) | |
| tree | 9c5bffa5b00977991042b4a1789db48e99e6575f /components | |
| parent | 1a8e3111e46c5478e5880a2350e4b0e5140aa08d (diff) | |
| parent | 51ac3ca98190a780d1af010d4461e77e6bd3190c (diff) | |
| download | monzero-gui-59a0184ebddce9fc32f42b3b59f10cb941ec617f.tar.gz monzero-gui-59a0184ebddce9fc32f42b3b59f10cb941ec617f.tar.xz monzero-gui-59a0184ebddce9fc32f42b3b59f10cb941ec617f.zip | |
Merge pull request #3584
51ac3ca StandardDropdown: use ArrowCursor; remove rotation of dropdownIcon; change background color on mouse hover; smaller text (rating89us)
Diffstat (limited to 'components')
| -rw-r--r-- | components/StandardDropdown.qml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/components/StandardDropdown.qml b/components/StandardDropdown.qml index 145dc92e..6108f145 100644 --- a/components/StandardDropdown.qml +++ b/components/StandardDropdown.qml @@ -54,10 +54,10 @@ ColumnLayout { property alias labelWrapMode: dropdownLabel.wrapMode property alias labelHorizontalAlignment: dropdownLabel.horizontalAlignment property bool showingHeader: dropdownLabel.text !== "" - property int labelFontSize: 16 + property int labelFontSize: 14 property bool labelFontBold: false property int dropdownHeight: 39 - property int fontSize: 16 + property int fontSize: 14 property int fontItemSize: 14 property string colorBorder: MoneroComponents.Style.inputBorderColorInActive property string colorHeaderBackground: "transparent" @@ -90,7 +90,7 @@ ColumnLayout { Rectangle { id: head - color: "transparent" + color: dropArea.containsMouse ? MoneroComponents.Style.titleBarButtonHoverColor : "transparent" border.width: dropdown.headerBorder ? 1 : 0 border.color: dropdown.colorBorder radius: 4 @@ -129,7 +129,6 @@ ColumnLayout { fontAwesomeFallbackIcon: FontAwesome.arrowDown fontAwesomeFallbackSize: 14 color: MoneroComponents.Style.defaultFontColor - rotation: dropdown.expanded ? 180 : 0 } } @@ -138,7 +137,7 @@ ColumnLayout { anchors.fill: parent onClicked: dropdown.expanded ? popup.close() : popup.open() hoverEnabled: true - cursorShape: Qt.PointingHandCursor + cursorShape: Qt.ArrowCursor } } @@ -213,7 +212,7 @@ ColumnLayout { id: itemArea anchors.fill: parent hoverEnabled: true - cursorShape: Qt.PointingHandCursor + cursorShape: Qt.ArrowCursor onClicked: { popup.close() |
