Fix code styles

CURA-6005
This commit is contained in:
Lipu Fei 2019-01-03 11:08:01 +01:00
parent 773190bee1
commit 136317c3c7
2 changed files with 8 additions and 7 deletions

View file

@ -13,11 +13,12 @@ CheckBox
property alias tooltip: tooltip.text
indicator: Rectangle {
indicator: Rectangle
{
implicitWidth: UM.Theme.getSize("checkbox").width
implicitHeight: UM.Theme.getSize("checkbox").height
x: 0
y: Math.round(parent.height / 2 - height / 2)
anchors.verticalCenter: parent.verticalCenter
color: UM.Theme.getColor("main_background")
radius: UM.Theme.getSize("checkbox_radius").width
border.width: UM.Theme.getSize("default_lining").width
@ -37,7 +38,8 @@ CheckBox
}
}
contentItem: Label {
contentItem: Label
{
anchors
{
left: checkbox.indicator.right