summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-11 08:54:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-12 08:31:35 -0800
commit0cb533abcb5c4a2005d0c1183d62aa88917e70a9 (patch)
treefb54b98bb0d63670e3cb74ca627ec91bda977f4d /mobile-widgets/qml
parent871e29d03189d55f2ba725e284132b39da3d94e7 (diff)
downloadsubsurface-0cb533abcb5c4a2005d0c1183d62aa88917e70a9.tar.gz
mobile/UI: make the comboboxes slightly more modern looking
The smaller indicator and more rounded corners seem more pleasant. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/TemplateComboBox.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/TemplateComboBox.qml b/mobile-widgets/qml/TemplateComboBox.qml
index f56fcf129..82b5fbf9f 100644
--- a/mobile-widgets/qml/TemplateComboBox.qml
+++ b/mobile-widgets/qml/TemplateComboBox.qml
@@ -27,7 +27,7 @@ ComboBox {
id: canvas
x: cb.width - width - cb.rightPadding
y: cb.topPadding + (cb.availableHeight - height) / 2
- width: Kirigami.Units.gridUnit
+ width: Kirigami.Units.gridUnit * 0.8
height: width * 0.66
contextType: "2d"
Connections {
@@ -74,7 +74,7 @@ ComboBox {
border.color: cb.focus ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.backgroundColor
border.width: cb.visualFocus ? 2 : 1
color: Qt.darker(subsurfaceTheme.backgroundColor, 1.1)
- radius: 2
+ radius: Kirigami.Units.smallSpacing
}
popup: Popup {
@@ -95,7 +95,7 @@ ComboBox {
background: Rectangle {
border.color: subsurfaceTheme.darkerPrimaryColor
color: subsurfaceTheme.backgroundColor
- radius: 2
+ radius: Kirigami.Units.smallSpacing
}
}
}