mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 08:19:02 +08:00
Fix code styles
CURA-6005
This commit is contained in:
parent
773190bee1
commit
136317c3c7
@ -120,12 +120,11 @@ Button
|
|||||||
visible: text != "" && button.hovered
|
visible: text != "" && button.hovered
|
||||||
}
|
}
|
||||||
|
|
||||||
BusyIndicator {
|
BusyIndicator
|
||||||
|
{
|
||||||
id: busyIndicator
|
id: busyIndicator
|
||||||
|
|
||||||
anchors {
|
anchors.centerIn: parent
|
||||||
centerIn: parent
|
|
||||||
}
|
|
||||||
|
|
||||||
width: height
|
width: height
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
@ -13,11 +13,12 @@ CheckBox
|
|||||||
|
|
||||||
property alias tooltip: tooltip.text
|
property alias tooltip: tooltip.text
|
||||||
|
|
||||||
indicator: Rectangle {
|
indicator: Rectangle
|
||||||
|
{
|
||||||
implicitWidth: UM.Theme.getSize("checkbox").width
|
implicitWidth: UM.Theme.getSize("checkbox").width
|
||||||
implicitHeight: UM.Theme.getSize("checkbox").height
|
implicitHeight: UM.Theme.getSize("checkbox").height
|
||||||
x: 0
|
x: 0
|
||||||
y: Math.round(parent.height / 2 - height / 2)
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
radius: UM.Theme.getSize("checkbox_radius").width
|
radius: UM.Theme.getSize("checkbox_radius").width
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
@ -37,7 +38,8 @@ CheckBox
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: Label {
|
contentItem: Label
|
||||||
|
{
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: checkbox.indicator.right
|
left: checkbox.indicator.right
|
||||||
|
Loading…
x
Reference in New Issue
Block a user