mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Set the alignWhenCentered to false
so the radio button is perfectly centered instead of shifted Contributes to CURA-6057.
This commit is contained in:
parent
87c4c03283
commit
74fe1c5aa8
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ RadioButton
|
||||||
implicitWidth: UM.Theme.getSize("radio_button").width
|
implicitWidth: UM.Theme.getSize("radio_button").width
|
||||||
implicitHeight: UM.Theme.getSize("radio_button").height
|
implicitHeight: UM.Theme.getSize("radio_button").height
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
anchors.alignWhenCentered: false
|
||||||
radius: width / 2
|
radius: width / 2
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
border.color: radioButton.hovered ? UM.Theme.getColor("small_button_text") : UM.Theme.getColor("small_button_text_hover")
|
border.color: radioButton.hovered ? UM.Theme.getColor("small_button_text") : UM.Theme.getColor("small_button_text_hover")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue