mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
mobile/UI: slight visual change to combo boxes
They always have a 10% darker background, and show a border if the combo box has focus. This seems to look reasonably well in all situation we use them. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bae1529fb7
commit
bda1f0b6e1
1 changed files with 2 additions and 3 deletions
|
@ -60,11 +60,10 @@ ComboBox {
|
|||
}
|
||||
|
||||
background: Rectangle {
|
||||
border.color: subsurfaceTheme.darkerPrimaryColor
|
||||
border.color: cb.focus ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.backgroundColor
|
||||
border.width: cb.visualFocus ? 2 : 1
|
||||
color: subsurfaceTheme.backgroundColor
|
||||
color: Qt.darker(subsurfaceTheme.backgroundColor, 1.1)
|
||||
radius: 2
|
||||
visible: cb.focus
|
||||
}
|
||||
|
||||
popup: Popup {
|
||||
|
|
Loading…
Add table
Reference in a new issue