mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
ab99703b02
commit
01e4ec47be
1 changed files with 8 additions and 7 deletions
|
@ -12,16 +12,17 @@ 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
|
||||||
height: 12
|
height: 12
|
||||||
x: 4
|
x: 4
|
||||||
y: 4
|
y: 4
|
||||||
radius: 3
|
radius: 3
|
||||||
color: root.down ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.primaryColor
|
color: root.down ? subsurfaceTheme.darkerPrimaryColor : subsurfaceTheme.primaryColor
|
||||||
visible: root.checked
|
visible: root.checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue