mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
mobile/UI: improve theming of spin box
Those are used for the rating / visibility when editing dives. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
336decd30c
commit
9621b88496
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ SpinBox {
|
|||
Text {
|
||||
text: "+"
|
||||
font.pixelSize: control.font.pixelSize * 2
|
||||
color: control.enabled ? subsurfaceTheme.textColor : subsurfaceTheme.disabledTextColor
|
||||
color: control.enabled ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.disabledTextColor
|
||||
anchors.fill: parent
|
||||
fontSizeMode: Text.Fit
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
@ -51,7 +51,7 @@ SpinBox {
|
|||
Text {
|
||||
text: "-"
|
||||
font.pixelSize: control.font.pixelSize * 2
|
||||
color: control.enabled ? subsurfaceTheme.textColor : subsurfaceTheme.disabledTextColor
|
||||
color: control.enabled ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.disabledTextColor
|
||||
anchors.fill: parent
|
||||
fontSizeMode: Text.Fit
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
|
Loading…
Reference in a new issue