Fix layout for open project dialog

CURA-4503
This commit is contained in:
Lipu Fei 2017-10-31 16:19:17 +01:00
parent 759c494aaa
commit 324b39fc39

View file

@ -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