Browse 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 4 years ago
parent
commit
f27ef02273
1 changed files with 2 additions and 2 deletions
  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