From 7967a9dcdb83dd80a00f1c7515b5ad93c5344008 Mon Sep 17 00:00:00 2001 From: vicky Date: Fri, 24 Feb 2023 23:01:29 +0100 Subject: [PATCH] made window un-resizeable --- python/src/ffcraft_solver/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/ffcraft_solver/__main__.py b/python/src/ffcraft_solver/__main__.py index 20c1966..e9a2aa9 100644 --- a/python/src/ffcraft_solver/__main__.py +++ b/python/src/ffcraft_solver/__main__.py @@ -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()