mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:39:01 +08:00
Fixed buttons not visible on my screen
CURA-3642
This commit is contained in:
parent
303a320c4e
commit
bc78bf94ab
@ -18,8 +18,8 @@ UM.Dialog
|
|||||||
id: base
|
id: base
|
||||||
|
|
||||||
title: catalog.i18nc("@title:window", "Open project file")
|
title: catalog.i18nc("@title:window", "Open project file")
|
||||||
width: 420 * Screen.devicePixelRatio
|
width: 450 * Screen.devicePixelRatio
|
||||||
height: 140 * Screen.devicePixelRatio
|
height: 150 * Screen.devicePixelRatio
|
||||||
|
|
||||||
maximumHeight: height
|
maximumHeight: height
|
||||||
maximumWidth: width
|
maximumWidth: width
|
||||||
@ -61,13 +61,16 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 20 * Screen.devicePixelRatio
|
anchors.leftMargin: 20 * Screen.devicePixelRatio
|
||||||
|
anchors.rightMargin: 20 * Screen.devicePixelRatio
|
||||||
|
anchors.bottomMargin: 20 * Screen.devicePixelRatio
|
||||||
spacing: 10 * Screen.devicePixelRatio
|
spacing: 10 * Screen.devicePixelRatio
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@text:window", "This is a Cura project file. Would you like to open it as a project\nor 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.margins: UM.Theme.getSize("default_margin").width
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
@ -76,7 +79,6 @@ UM.Dialog
|
|||||||
{
|
{
|
||||||
id: rememberChoiceCheckBox
|
id: rememberChoiceCheckBox
|
||||||
text: catalog.i18nc("@text:window", "Remember my choice")
|
text: catalog.i18nc("@text:window", "Remember my choice")
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
|
||||||
checked: UM.Preferences.getValue("cura/choice_on_open_project") != "always_ask"
|
checked: UM.Preferences.getValue("cura/choice_on_open_project") != "always_ask"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user