Merge branch '4.11' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2021-08-12 15:28:12 +02:00
commit 5bc6ed25da

View File

@ -174,10 +174,14 @@ Item
Cura.RadioButton Cura.RadioButton
{ {
id: radioButton id: radioButton
anchors.left: parent.left anchors
anchors.leftMargin: UM.Theme.getSize("standard_list_lineheight").width {
anchors.right: parent.right left: parent !== null ? parent.left: undefined
anchors.rightMargin: UM.Theme.getSize("default_margin").width leftMargin: UM.Theme.getSize("standard_list_lineheight").width
right: parent !== null ? parent.right: undefined
rightMargin: UM.Theme.getSize("default_margin").width
}
height: visible ? UM.Theme.getSize("standard_list_lineheight").height : 0 height: visible ? UM.Theme.getSize("standard_list_lineheight").height : 0
checked: ListView.view.currentIndex == index checked: ListView.view.currentIndex == index