mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Fix switch alignment
CURA-9793
This commit is contained in:
parent
c356b9d46f
commit
1224f076c3
1 changed files with 12 additions and 10 deletions
|
@ -48,16 +48,6 @@ Item
|
|||
font: UM.Theme.getFont("medium_bold")
|
||||
}
|
||||
|
||||
UM.Switch
|
||||
{
|
||||
id: enableSectionSwitch
|
||||
anchors.left: sectionTitle.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
visible: false
|
||||
|
||||
onClicked: onEnableSectionChanged(enableSectionSwitch.checked)
|
||||
}
|
||||
|
||||
MouseArea
|
||||
{
|
||||
id: tooltipMouseArea
|
||||
|
@ -71,6 +61,18 @@ Item
|
|||
|
||||
}
|
||||
|
||||
UM.Switch
|
||||
{
|
||||
id: enableSectionSwitch
|
||||
anchors.left: parent.left
|
||||
// These numbers come from the IconWithText in RecommendedSettingSection.
|
||||
anchors.leftMargin: leftColumnWidth + UM.Theme.getSize("medium_button_icon").width + UM.Theme.getSize("thick_margin").width - (2 * UM.Theme.getSize("thick_lining").width)
|
||||
anchors.verticalCenter: sectionHeader.verticalCenter
|
||||
visible: false
|
||||
|
||||
onClicked: onEnableSectionChanged(enableSectionSwitch.checked)
|
||||
}
|
||||
|
||||
ColumnLayout
|
||||
{
|
||||
id: settingColumn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue