From aa923321f80aafa6ed473746f73f2d9e98fd7121 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Tue, 31 Jan 2017 09:19:18 +0100 Subject: [PATCH] Fix compatibility mode layout. CURA-3273 --- plugins/LayerView/LayerView.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/LayerView/LayerView.qml b/plugins/LayerView/LayerView.qml index b60f158e3b..9c877769bc 100644 --- a/plugins/LayerView/LayerView.qml +++ b/plugins/LayerView/LayerView.qml @@ -173,7 +173,7 @@ Item ComboBox { - id: layer_type_combobox + id: layerTypeCombobox anchors.top: slider_background.bottom anchors.left: parent.left model: layerViewTypes @@ -185,6 +185,7 @@ Item Label { + id: compatibilityModeLabel anchors.top: slider_background.bottom anchors.left: parent.left text: catalog.i18nc("@label","Compatibility mode") @@ -193,7 +194,7 @@ Item ColumnLayout { id: view_settings - anchors.top: layer_type_combobox.bottom + anchors.top: UM.LayerView.compatibilityMode ? compatibilityModeLabel.bottom : layerTypeCombobox.bottom anchors.topMargin: UM.Theme.getSize("default_margin").height x: UM.Theme.getSize("default_margin").width