Skip to content

Commit

Permalink
Don't make main window ridiculously tall
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio committed Jan 3, 2021
1 parent 84aeb27 commit 16fdc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, state):
w, h = 1600, 2500
if state.enable_all_plots: h = 3800 # More plots -> more room
root.setMinimumSize(1000, h)
window.resize(w, h)
window.resize(w, app.desktop().screenGeometry().height())
self.window.show()

def exec_(self):
Expand Down

0 comments on commit 16fdc79

Please sign in to comment.