Browse Source

Fix errors in workspace dialog

Jaime van Kessel 3 years ago
parent
commit
f043750f70
1 changed files with 6 additions and 7 deletions
  1. 6 7
      plugins/3MFReader/WorkspaceDialog.qml

+ 6 - 7
plugins/3MFReader/WorkspaceDialog.qml

@@ -17,8 +17,7 @@ UM.Dialog
     minimumWidth: UM.Theme.getSize("popup_dialog").width
     minimumHeight: UM.Theme.getSize("popup_dialog").height
     width: minimumWidth
-    height: Math.max(dialogSummaryItem.height + 2 * buttonsItem.height, minimumHeight) // 2 * button height to also have some extra space around the button relative to the button size
-
+    
     property int comboboxHeight: UM.Theme.getSize("default_margin").height
 
     onClosing: manager.notifyClosed()
@@ -67,7 +66,7 @@ UM.Dialog
             Column
             {
                 width: parent.width
-                height: cildrenRect.height
+                height: childrenRect.height
 
                 UM.Label
                 {
@@ -149,7 +148,7 @@ UM.Dialog
                 Column
                 {
                     width: parent.width
-                    height: cildrenRect.height
+                    height: childrenRect.height
 
                     UM.Label
                     {
@@ -225,7 +224,7 @@ UM.Dialog
                 Column
                 {
                     width: parent.width
-                    height: cildrenRect.height
+                    height: childrenRect.height
 
                     UM.Label
                     {
@@ -341,7 +340,7 @@ UM.Dialog
                 Column
                 {
                     width: parent.width
-                    height: cildrenRect.height
+                    height: childrenRect.height
                     Row
                     {
                         height: childrenRect.height
@@ -382,7 +381,7 @@ UM.Dialog
             Column
             {
                 width: parent.width
-                height: cildrenRect.height
+                height: childrenRect.height
 
                 UM.Label
                 {