Browse Source

Use Screen.devicePixelRatio for plugin browser

CURA-4279
Lipu Fei 7 years ago
parent
commit
f803e72c18
1 changed files with 4 additions and 4 deletions
  1. 4 4
      plugins/PluginBrowser/PluginBrowser.qml

+ 4 - 4
plugins/PluginBrowser/PluginBrowser.qml

@@ -9,10 +9,10 @@ UM.Dialog
     id: base
 
     title: catalog.i18nc("@title:window", "Find & Update plugins")
-    width: 600
-    height: 450
-    minimumWidth: 350
-    minimumHeight: 350
+    width: 600 * Screen.devicePixelRatio
+    height: 450 * Screen.devicePixelRatio
+    minimumWidth: 350 * Screen.devicePixelRatio
+    minimumHeight: 350 * Screen.devicePixelRatio
     Item
     {
         anchors.fill: parent