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>
This commit is contained in:
Joakim Bygdell 2018-03-19 19:53:02 +01:00 committed by Dirk Hohndel
parent ab99703b02
commit 01e4ec47be

View file

@ -12,7 +12,8 @@ CheckBox {
y: parent.height / 2 - height / 2 y: parent.height / 2 - height / 2
radius: 4 radius: 4
border.color: root.down ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.primaryColor border.color: root.down ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.primaryColor
color: subsurfaceTheme.drawerColor border.width: 2
color: subsurfaceTheme.backgroundColor
Rectangle { Rectangle {
width: 12 width: 12