diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-22 16:40:16 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-23 09:44:39 -0800 |
commit | 9621b884964b66830378aa7cfcb03dd1e69933b6 (patch) | |
tree | 6fd53ff4beccadfa54f6f55554a92051a8798778 /mobile-widgets/qml | |
parent | 336decd30c8614b9778051c79f457421e4baf3e7 (diff) | |
download | subsurface-9621b884964b66830378aa7cfcb03dd1e69933b6.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/TemplateSpinBox.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/TemplateSpinBox.qml b/mobile-widgets/qml/TemplateSpinBox.qml index 51f26aa66..5cb60aef1 100644 --- a/mobile-widgets/qml/TemplateSpinBox.qml +++ b/mobile-widgets/qml/TemplateSpinBox.qml @@ -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 |