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

Update documentation

parent 83375d25
No related branches found
No related tags found
1 merge request!218Fix program not fitting on low resolution screens
...@@ -39,8 +39,9 @@ def fix_relative_paths() -> None: ...@@ -39,8 +39,9 @@ def fix_relative_paths() -> None:
def resize_windows(main_window: MainWindow): def resize_windows(main_window: MainWindow):
""" """
Resize the pre-defined windows in the program so that they fit well on all Resize the pre-defined windows in the program so that they fit well on all
screen resolutions. Any windows that are created when they are shown will screen resolutions. Any windows that cannot be reached from the main
have their parents handle their resizing or do it themselves. window, including those that are created when they are shown, will
have to handle it themselves.
""" """
screen_size = QtWidgets.QApplication.primaryScreen().size().toTuple() screen_size = QtWidgets.QApplication.primaryScreen().size().toTuple()
screen_width, screen_height = screen_size screen_width, screen_height = screen_size
......
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