mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
parent
650377c819
commit
c6f42766c7
6 changed files with 11 additions and 10 deletions
|
@ -18,8 +18,8 @@ UM.Dialog
|
|||
id: base
|
||||
|
||||
title: catalog.i18nc("@title:window", "Open project file")
|
||||
width: 450 * screenScaleFactor
|
||||
height: 150 * screenScaleFactor
|
||||
width: UM.Theme.getSize("small_popup_dialog").width
|
||||
height: UM.Theme.getSize("small_popup_dialog").height
|
||||
|
||||
maximumHeight: height
|
||||
maximumWidth: width
|
||||
|
|
|
@ -14,8 +14,8 @@ UM.Dialog
|
|||
id: base
|
||||
title: catalog.i18nc("@title:window", "Discard or Keep changes")
|
||||
|
||||
width: 800 * screenScaleFactor
|
||||
height: 400 * screenScaleFactor
|
||||
width: UM.Theme.getSize("popup_dialog").width
|
||||
height: UM.Theme.getSize("popup_dialog").height
|
||||
property var changesModel: Cura.UserChangesModel{ id: userChangesModel}
|
||||
onVisibilityChanged:
|
||||
{
|
||||
|
|
|
@ -148,8 +148,6 @@ UM.ManagementPage
|
|||
UM.RenameDialog
|
||||
{
|
||||
id: renameDialog;
|
||||
width: 300 * screenScaleFactor
|
||||
height: 150 * screenScaleFactor
|
||||
object: base.currentItem && base.currentItem.name ? base.currentItem.name : "";
|
||||
property var machine_name_validator: Cura.MachineNameValidator { }
|
||||
validName: renameDialog.newName.match(renameDialog.machine_name_validator.machineNameRegex) != null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue