mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Merge pull request #1910 from Ultimaker/fix_dialog_sizes
Fix dialog sizes. Tested on different OSes and screens, all looked good.
This commit is contained in:
parent
d44caa281b
commit
8ab5c7e4cd
7 changed files with 30 additions and 31 deletions
|
@ -112,8 +112,8 @@ UM.ManagementPage
|
|||
{
|
||||
id: actionDialog
|
||||
property var content
|
||||
minimumWidth: 350 * Screen.devicePixelRatio;
|
||||
minimumHeight: 350 * Screen.devicePixelRatio;
|
||||
minimumWidth: 350
|
||||
minimumHeight: 350
|
||||
onContentChanged:
|
||||
{
|
||||
contents = content;
|
||||
|
@ -257,6 +257,8 @@ UM.ManagementPage
|
|||
UM.RenameDialog
|
||||
{
|
||||
id: renameDialog;
|
||||
width: 300
|
||||
height: 150
|
||||
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