Browse Source

Reduce the width of the license window

CURA-4222
Lipu Fei 7 years ago
parent
commit
ceccca8244
2 changed files with 3 additions and 2 deletions
  1. 2 2
      plugins/PluginBrowser/PluginBrowser.qml
  2. 1 0
      resources/themes/cura/theme.json

+ 2 - 2
plugins/PluginBrowser/PluginBrowser.qml

@@ -198,8 +198,8 @@ UM.Dialog
             id: licenseDialog
             title: catalog.i18nc("@title:window", "Plugin License Agreement")
 
-            minimumWidth: UM.Theme.getSize("modal_window_minimum").width
-            minimumHeight: UM.Theme.getSize("modal_window_minimum").height
+            minimumWidth: UM.Theme.getSize("license_window_minimum").width
+            minimumHeight: UM.Theme.getSize("license_window_minimum").height
             width: minimumWidth
             height: minimumHeight
 

+ 1 - 0
resources/themes/cura/theme.json

@@ -328,6 +328,7 @@
         "save_button_specs_icons": [1.4, 1.4],
 
         "modal_window_minimum": [60.0, 45],
+        "license_window_minimum": [45, 45],
         "wizard_progress": [10.0, 0.0],
 
         "message": [30.0, 5.0],