From 339fcda727424331b0f7a85be4bafdbe10a13d67 Mon Sep 17 00:00:00 2001 From: dinkus Date: Sat, 4 Jun 2022 17:53:27 -0400 Subject: [PATCH] fix windows snap problem by removing maximum window size --- piker/ui/_window.py | 1 - 1 file changed, 1 deletion(-) diff --git a/piker/ui/_window.py b/piker/ui/_window.py index 46c35e52..6a39b0c5 100644 --- a/piker/ui/_window.py +++ b/piker/ui/_window.py @@ -287,7 +287,6 @@ class MainWindow(QtGui.QMainWindow): app = QtGui.QApplication.instance() geo = self.current_screen().geometry() h, w = geo.height(), geo.width() - self.setMaximumSize(w, h) # use approx 1/3 of the area of the screen by default self._size = round(w * .666), round(h * .666)