mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Don't round the radius of the RadioButton
Otherwise it looks like a weird circle. Contributes to CURA-6057.
This commit is contained in:
parent
d8f89d8330
commit
3d86499069
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ RadioButton
|
|||
implicitWidth: UM.Theme.getSize("radio_button").width
|
||||
implicitHeight: UM.Theme.getSize("radio_button").height
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
radius: (width / 2) | 0
|
||||
radius: width / 2
|
||||
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")
|
||||
|
||||
|
@ -36,7 +36,7 @@ RadioButton
|
|||
width: (parent.width / 2) | 0
|
||||
height: width
|
||||
anchors.centerIn: parent
|
||||
radius: (width / 2) | 0
|
||||
radius: width / 2
|
||||
color: radioButton.hovered ? UM.Theme.getColor("primary_button_hover") : UM.Theme.getColor("primary_button")
|
||||
visible: radioButton.checked
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue