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:
Dirk Hohndel 2020-12-22 16:40:16 -08:00
parent 336decd30c
commit 9621b88496

View file

@ -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