mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:19:08 +08:00
Fix centering of MessageDialog
Instead of centering in the parent the dialog is now center within the `Overlay.overlay`. This is the window container. CURA 8687
This commit is contained in:
parent
84ecc8d168
commit
2e1f2a37a3
@ -63,7 +63,6 @@ Item
|
||||
UM.MessageDialog
|
||||
{
|
||||
id: newProjectDialog
|
||||
anchors.centerIn: base
|
||||
|
||||
title: catalog.i18nc("@title:window", "New project")
|
||||
text: catalog.i18nc("@info:question", "Are you sure you want to start a new project? This will clear the build plate and any unsaved settings.")
|
||||
|
@ -122,7 +122,6 @@ Item
|
||||
UM.MessageDialog
|
||||
{
|
||||
id: confirmDiameterChangeDialog
|
||||
anchors.centerIn: base
|
||||
|
||||
title: catalog.i18nc("@title:window", "Confirm Diameter Change")
|
||||
text: catalog.i18nc("@label (%1 is a number)", "The new filament diameter is set to %1 mm, which is not compatible with the current extruder. Do you wish to continue?".arg(new_diameter_value))
|
||||
|
Loading…
x
Reference in New Issue
Block a user