Parcourir la source

Set dialog max and min width and height before width and height

Otherwise, resize events will not be processed correctly.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Felix Weilbach il y a 4 ans
Parent
commit
f27ef02273
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/gui/UserStatusSelectorDialog.qml

+ 2 - 2
src/gui/UserStatusSelectorDialog.qml

@@ -11,12 +11,12 @@ Window {
         }
     }
 
-    width: view.implicitWidth
-    height: view.implicitHeight
     minimumWidth: view.implicitWidth
     minimumHeight: view.implicitHeight
     maximumWidth: view.implicitWidth
     maximumHeight: view.implicitHeight
+    width: maximumWidth
+    height: maximumHeight
 
     visible: true