mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Update Machine Settings Menu checkboxes to new style.
Change height of setting row to be set by TooltipArea instead of Checkbox and center Checkbox within TooltipArea
This commit is contained in:
parent
c54c375a7c
commit
16e4ee58a9
1 changed files with 7 additions and 4 deletions
|
@ -20,7 +20,7 @@ UM.TooltipArea
|
|||
|
||||
property int controlHeight: UM.Theme.getSize("setting_control").height
|
||||
|
||||
height: childrenRect.height
|
||||
height: controlHeight
|
||||
width: childrenRect.width
|
||||
text: tooltip
|
||||
|
||||
|
@ -60,10 +60,13 @@ UM.TooltipArea
|
|||
Cura.CheckBox
|
||||
{
|
||||
id: checkBox
|
||||
anchors.left: fieldLabel.right
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
anchors {
|
||||
left: fieldLabel.right
|
||||
leftMargin: UM.Theme.getSize("default_margin").width
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
checked: String(propertyProvider.properties.value).toLowerCase() != 'false'
|
||||
height: simpleCheckBox.controlHeight
|
||||
height: UM.Theme.getSize("checkbox").height
|
||||
text: ""
|
||||
onClicked:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue