diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2018-03-19 19:53:02 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-19 12:03:06 -0700 |
commit | 01e4ec47bec37a47a39f4c439aeb41583d4ba219 (patch) | |
tree | e8625f0955b9f2481f0c37dc5836cef1d28520df /mobile-widgets | |
parent | ab99703b02af6ca59a22a24f4b9b7b7295b75fd8 (diff) | |
download | subsurface-01e4ec47bec37a47a39f4c439aeb41583d4ba219.tar.gz |
QML UI: Fix checkbox color
The background color in our own checkbox should match the page background.
Also includes some whitespace cleanup.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/SsrfCheckBox.qml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/mobile-widgets/qml/SsrfCheckBox.qml b/mobile-widgets/qml/SsrfCheckBox.qml index f308a1ee3..f7b1375a6 100644 --- a/mobile-widgets/qml/SsrfCheckBox.qml +++ b/mobile-widgets/qml/SsrfCheckBox.qml @@ -12,16 +12,17 @@ CheckBox { y: parent.height / 2 - height / 2 radius: 4 border.color: root.down ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.primaryColor - color: subsurfaceTheme.drawerColor + border.width: 2 + color: subsurfaceTheme.backgroundColor Rectangle { - width: 12 - height: 12 - x: 4 - y: 4 - radius: 3 + width: 12 + height: 12 + x: 4 + y: 4 + radius: 3 color: root.down ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.primaryColor - visible: root.checked + visible: root.checked } } } |