From 2ba0dd094ed3c9c37c6ee0cdd25694ab1c0c96b1 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Tue, 11 Jul 2017 15:54:21 +0200 Subject: [PATCH] Simplify layout --- .../MachineSettingsAction.qml | 40 +++++++++---------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/plugins/MachineSettingsAction/MachineSettingsAction.qml b/plugins/MachineSettingsAction/MachineSettingsAction.qml index cd5854209e..4cc1cfb9d4 100644 --- a/plugins/MachineSettingsAction/MachineSettingsAction.qml +++ b/plugins/MachineSettingsAction/MachineSettingsAction.qml @@ -135,27 +135,23 @@ Cura.MachineAction property string unit: catalog.i18nc("@label", "mm") property bool forceUpdateOnChange: true } - } - Column - { - 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 } + + Label { - spacing: UM.Theme.getSize("default_margin").width - - Label - { - text: catalog.i18nc("@label", "Build Plate Shape") - } - - Loader - { - id: shapeComboBox - sourceComponent: comboBoxWithOptions - property string settingKey: "machine_shape" - property bool forceUpdateOnChange: true - } + text: catalog.i18nc("@label", "Build Plate Shape") } + + Loader + { + id: shapeComboBox + sourceComponent: comboBoxWithOptions + property string settingKey: "machine_shape" + property bool forceUpdateOnChange: true + } + Loader { id: centerIsZeroCheckBox @@ -164,6 +160,7 @@ Cura.MachineAction property string settingKey: "machine_center_is_zero" property bool forceUpdateOnChange: true } + Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height } Loader { id: heatedBedCheckBox @@ -172,11 +169,10 @@ Cura.MachineAction property var settingKey: "machine_heated_bed" property bool forceUpdateOnChange: true } - } + Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height } - Row - { - spacing: UM.Theme.getSize("default_margin").width + 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 } Label {