From 324b39fc39119f28a06e345cc83b27a3d1078fe3 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Tue, 31 Oct 2017 16:19:17 +0100 Subject: [PATCH] Fix layout for open project dialog CURA-4503 --- resources/qml/AskOpenAsProjectOrModelsDialog.qml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/resources/qml/AskOpenAsProjectOrModelsDialog.qml b/resources/qml/AskOpenAsProjectOrModelsDialog.qml index 954e1a5433..affef33fb1 100644 --- a/resources/qml/AskOpenAsProjectOrModelsDialog.qml +++ b/resources/qml/AskOpenAsProjectOrModelsDialog.qml @@ -64,6 +64,7 @@ UM.Dialog anchors.leftMargin: 20 * screenScaleFactor anchors.rightMargin: 20 * screenScaleFactor anchors.bottomMargin: 10 * screenScaleFactor + spacing: 10 * screenScaleFactor Label { @@ -78,28 +79,16 @@ UM.Dialog CheckBox { id: rememberChoiceCheckBox - anchors.bottom: buttonBar.top - anchors.bottomMargin: UM.Theme.getSize("default_margin").heigth + text: catalog.i18nc("@text:window", "Remember my choice") checked: UM.Preferences.getValue("cura/choice_on_open_project") != "always_ask" } - Label - { - id: checkboxTextWithNiceRendering - anchors.left: rememberChoiceCheckBox.right - anchors.bottom: rememberChoiceCheckBox.bottom - font: UM.Theme.getFont("default") - text: catalog.i18nc("@text:window", "Remember my choice") - } - - // Buttons Item { id: buttonBar anchors.right: parent.right anchors.left: parent.left - anchors.bottom: parent.bottom height: childrenRect.height Button