mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
871e29d031
commit
0cb533abcb
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ ComboBox {
|
||||||
id: canvas
|
id: canvas
|
||||||
x: cb.width - width - cb.rightPadding
|
x: cb.width - width - cb.rightPadding
|
||||||
y: cb.topPadding + (cb.availableHeight - height) / 2
|
y: cb.topPadding + (cb.availableHeight - height) / 2
|
||||||
width: Kirigami.Units.gridUnit
|
width: Kirigami.Units.gridUnit * 0.8
|
||||||
height: width * 0.66
|
height: width * 0.66
|
||||||
contextType: "2d"
|
contextType: "2d"
|
||||||
Connections {
|
Connections {
|
||||||
|
@ -74,7 +74,7 @@ ComboBox {
|
||||||
border.color: cb.focus ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.backgroundColor
|
border.color: cb.focus ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.backgroundColor
|
||||||
border.width: cb.visualFocus ? 2 : 1
|
border.width: cb.visualFocus ? 2 : 1
|
||||||
color: Qt.darker(subsurfaceTheme.backgroundColor, 1.1)
|
color: Qt.darker(subsurfaceTheme.backgroundColor, 1.1)
|
||||||
radius: 2
|
radius: Kirigami.Units.smallSpacing
|
||||||
}
|
}
|
||||||
|
|
||||||
popup: Popup {
|
popup: Popup {
|
||||||
|
@ -95,7 +95,7 @@ ComboBox {
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
border.color: subsurfaceTheme.darkerPrimaryColor
|
border.color: subsurfaceTheme.darkerPrimaryColor
|
||||||
color: subsurfaceTheme.backgroundColor
|
color: subsurfaceTheme.backgroundColor
|
||||||
radius: 2
|
radius: Kirigami.Units.smallSpacing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue