mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Fix layout for open project dialog
CURA-4503
This commit is contained in:
parent
759c494aaa
commit
324b39fc39
1 changed files with 2 additions and 13 deletions
|
@ -64,6 +64,7 @@ UM.Dialog
|
||||||
anchors.leftMargin: 20 * screenScaleFactor
|
anchors.leftMargin: 20 * screenScaleFactor
|
||||||
anchors.rightMargin: 20 * screenScaleFactor
|
anchors.rightMargin: 20 * screenScaleFactor
|
||||||
anchors.bottomMargin: 10 * screenScaleFactor
|
anchors.bottomMargin: 10 * screenScaleFactor
|
||||||
|
spacing: 10 * screenScaleFactor
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
@ -78,28 +79,16 @@ UM.Dialog
|
||||||
CheckBox
|
CheckBox
|
||||||
{
|
{
|
||||||
id: rememberChoiceCheckBox
|
id: rememberChoiceCheckBox
|
||||||
anchors.bottom: buttonBar.top
|
text: catalog.i18nc("@text:window", "Remember my choice")
|
||||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").heigth
|
|
||||||
checked: UM.Preferences.getValue("cura/choice_on_open_project") != "always_ask"
|
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
|
// Buttons
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: buttonBar
|
id: buttonBar
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
Button
|
Button
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue