Skip to content

Commit 16fdc79

Browse files
committed
Don't make main window ridiculously tall
1 parent 84aeb27 commit 16fdc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, state):
7878
w, h = 1600, 2500
7979
if state.enable_all_plots: h = 3800 # More plots -> more room
8080
root.setMinimumSize(1000, h)
81-
window.resize(w, h)
81+
window.resize(w, app.desktop().screenGeometry().height())
8282
self.window.show()
8383

8484
def exec_(self):

0 commit comments

Comments
 (0)