mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 19:35:56 +08:00
Simplify layout
This commit is contained in:
parent
aa7ab2e0a7
commit
2ba0dd094e
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user