mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 23:29:07 +08:00
Fix layout for open project dialog
CURA-4503
This commit is contained in:
parent
759c494aaa
commit
324b39fc39
@ -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…
x
Reference in New Issue
Block a user