made window un-resizeable

This commit is contained in:
vicky 2023-02-24 23:01:29 +01:00
parent c90b24fd6f
commit 7967a9dcdb
1 changed files with 2 additions and 2 deletions

View File

@ -220,9 +220,9 @@ def refresh_log() -> True:
if __name__ == '__main__':
dpg.create_context()
dpg.configure_app(manual_callback_management=True)
dpg.create_viewport(title='XIV Solver', width=500, height=700)
dpg.create_viewport(title='XIV Solver', width=500, height=700, resizable=False)
with dpg.window(label="Settings", width=500, height=700, no_resize=True, no_title_bar=True, no_move=True):
with dpg.window(label="Settings", width=500, height=700, no_resize=True, no_title_bar=True, no_move=True, no_collapse=True):
# Initialization of all our classes
loggers = log.Loggers()