From 9621b884964b66830378aa7cfcb03dd1e69933b6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 22 Dec 2020 16:40:16 -0800 Subject: [PATCH] mobile/UI: improve theming of spin box Those are used for the rating / visibility when editing dives. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/TemplateSpinBox.qml | 4 ++-- 1 file 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