mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:55:59 +08:00
same font for checkbox label and some layout anchors
This commit is contained in:
parent
2a4addefbf
commit
6c04a8be5d
@ -63,11 +63,11 @@ UM.Dialog
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.leftMargin: 20 * screenScaleFactor
|
anchors.leftMargin: 20 * screenScaleFactor
|
||||||
anchors.rightMargin: 20 * screenScaleFactor
|
anchors.rightMargin: 20 * screenScaleFactor
|
||||||
anchors.bottomMargin: 20 * screenScaleFactor
|
anchors.bottomMargin: 10 * screenScaleFactor
|
||||||
spacing: 10 * screenScaleFactor
|
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
id: questionText
|
||||||
text: catalog.i18nc("@text:window", "This is a Cura project file. Would you like to open it as a project or import the models from it?")
|
text: catalog.i18nc("@text:window", "This is a Cura project file. Would you like to open it as a project or import the models from it?")
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
@ -78,15 +78,28 @@ UM.Dialog
|
|||||||
CheckBox
|
CheckBox
|
||||||
{
|
{
|
||||||
id: rememberChoiceCheckBox
|
id: rememberChoiceCheckBox
|
||||||
text: catalog.i18nc("@text:window", "Remember my choice")
|
anchors.bottom: buttonBar.top
|
||||||
|
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
|
||||||
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…
x
Reference in New Issue
Block a user