Made application maximized when opened
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ def run():
|
|||||||
widget.setWindowFlag(Qt.FramelessWindowHint)
|
widget.setWindowFlag(Qt.FramelessWindowHint)
|
||||||
|
|
||||||
if window_config.get('fullscreen', True):
|
if window_config.get('fullscreen', True):
|
||||||
widget.showFullScreen()
|
widget.showMaximized()
|
||||||
else:
|
else:
|
||||||
widget.resize(WIDTH, HEIGHT)
|
widget.resize(WIDTH, HEIGHT)
|
||||||
widget.show()
|
widget.show()
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ height = 720
|
|||||||
font-size = '14px'
|
font-size = '14px'
|
||||||
fullscreen = true
|
fullscreen = true
|
||||||
|
|
||||||
|
# When true, the dashboard opens maximized so it can still be moved between
|
||||||
|
# desktops/monitors by the window manager. Set false to use width/height.
|
||||||
|
|
||||||
# Note: do not change!
|
# Note: do not change!
|
||||||
# options bellow are here only for testing purposes
|
# options bellow are here only for testing purposes
|
||||||
# SBI politics doesn't allow opacity frameless and always on top applications!
|
# SBI politics doesn't allow opacity frameless and always on top applications!
|
||||||
|
|||||||
Reference in New Issue
Block a user