Skip to content
Snippets Groups Projects
Commit fa6b7e07 authored by Kien Le's avatar Kien Le
Browse files

Resize main window to more reasonable size

parent 01e7676a
No related branches found
No related tags found
1 merge request!218Fix program not fitting on low resolution screens
...@@ -70,7 +70,7 @@ def main(): ...@@ -70,7 +70,7 @@ def main():
config.apply_config(wnd) config.apply_config(wnd)
screen_width, screen_height = app.primaryScreen().size().toTuple() screen_width, screen_height = app.primaryScreen().size().toTuple()
wnd.resize(screen_width, screen_height) wnd.resize(screen_width * (2 / 3), screen_height * (2 / 3))
wnd.show() wnd.show()
sys.exit(app.exec_()) sys.exit(app.exec_())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment