Browse Source

Better height for dialog

Lipu Fei 6 years ago
parent
commit
5255d6ca2a

+ 1 - 1
plugins/Toolbox/resources/qml/ToolboxConfirmUninstallResetDialog.qml

@@ -19,7 +19,7 @@ UM.Dialog
 
     title: catalog.i18nc("@title:window", "Confirm uninstall ") + toolbox.pluginToUninstall
     width: 450 * screenScaleFactor
-    height: (100 + dialogText.height) * screenScaleFactor
+    height: 50 * screenScaleFactor + dialogText.height + buttonBar.height
 
     maximumWidth: 450 * screenScaleFactor
     maximumHeight: 450 * screenScaleFactor