mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -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.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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue