Simplify layout

This commit is contained in:
fieldOfView 2017-07-11 15:54:21 +02:00
parent aa7ab2e0a7
commit 2ba0dd094e

View File

@ -135,27 +135,23 @@ Cura.MachineAction
property string unit: catalog.i18nc("@label", "mm") property string unit: catalog.i18nc("@label", "mm")
property bool forceUpdateOnChange: true property bool forceUpdateOnChange: true
} }
}
Column Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
{ Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
Row
Label
{ {
spacing: UM.Theme.getSize("default_margin").width text: catalog.i18nc("@label", "Build Plate Shape")
Label
{
text: catalog.i18nc("@label", "Build Plate Shape")
}
Loader
{
id: shapeComboBox
sourceComponent: comboBoxWithOptions
property string settingKey: "machine_shape"
property bool forceUpdateOnChange: true
}
} }
Loader
{
id: shapeComboBox
sourceComponent: comboBoxWithOptions
property string settingKey: "machine_shape"
property bool forceUpdateOnChange: true
}
Loader Loader
{ {
id: centerIsZeroCheckBox id: centerIsZeroCheckBox
@ -164,6 +160,7 @@ Cura.MachineAction
property string settingKey: "machine_center_is_zero" property string settingKey: "machine_center_is_zero"
property bool forceUpdateOnChange: true property bool forceUpdateOnChange: true
} }
Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
Loader Loader
{ {
id: heatedBedCheckBox id: heatedBedCheckBox
@ -172,11 +169,10 @@ Cura.MachineAction
property var settingKey: "machine_heated_bed" property var settingKey: "machine_heated_bed"
property bool forceUpdateOnChange: true property bool forceUpdateOnChange: true
} }
} Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
Row Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
{ Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
spacing: UM.Theme.getSize("default_margin").width
Label Label
{ {