mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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 {
|
||||||
text: "+"
|
text: "+"
|
||||||
font.pixelSize: control.font.pixelSize * 2
|
font.pixelSize: control.font.pixelSize * 2
|
||||||
color: control.enabled ? subsurfaceTheme.textColor : subsurfaceTheme.disabledTextColor
|
color: control.enabled ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.disabledTextColor
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
fontSizeMode: Text.Fit
|
fontSizeMode: Text.Fit
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
@ -51,7 +51,7 @@ SpinBox {
|
||||||
Text {
|
Text {
|
||||||
text: "-"
|
text: "-"
|
||||||
font.pixelSize: control.font.pixelSize * 2
|
font.pixelSize: control.font.pixelSize * 2
|
||||||
color: control.enabled ? subsurfaceTheme.textColor : subsurfaceTheme.disabledTextColor
|
color: control.enabled ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.disabledTextColor
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
fontSizeMode: Text.Fit
|
fontSizeMode: Text.Fit
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
Loading…
Add table
Reference in a new issue