diff --git a/__pycache__/cfd_app_config.cpython-312.pyc b/__pycache__/cfd_app_config.cpython-312.pyc new file mode 100644 index 0000000..a9be0d2 Binary files /dev/null and b/__pycache__/cfd_app_config.cpython-312.pyc differ diff --git a/__pycache__/cfd_ui_setup.cpython-312.pyc b/__pycache__/cfd_ui_setup.cpython-312.pyc new file mode 100644 index 0000000..4188522 Binary files /dev/null and b/__pycache__/cfd_ui_setup.cpython-312.pyc differ diff --git a/__pycache__/custom_file_dialog.cpython-312.pyc b/__pycache__/custom_file_dialog.cpython-312.pyc new file mode 100644 index 0000000..c579d4b Binary files /dev/null and b/__pycache__/custom_file_dialog.cpython-312.pyc differ diff --git a/cfd_ui_setup.py b/cfd_ui_setup.py index 7e7ca56..7a3c7d5 100644 --- a/cfd_ui_setup.py +++ b/cfd_ui_setup.py @@ -406,6 +406,7 @@ class WidgetManager: Tooltip(self.settings_button, "Einstellungen") if self.dialog.dialog_mode == "save": + action_buttons_frame.grid_columnconfigure(0, weight=1) self.filename_entry = ttk.Entry(action_buttons_frame) save_button = ttk.Button( action_buttons_frame, text="Speichern", command=self.dialog.on_save) @@ -415,7 +416,6 @@ class WidgetManager: ft[0] for ft in self.dialog.filetypes], state="readonly") if button_box_pos == 'left': - action_buttons_frame.grid_columnconfigure(0, weight=1) self.filename_entry.grid( row=0, column=0, sticky="ew", padx=(10, 5)) save_button.grid(row=0, column=1, sticky="e", padx=(0, 10)) diff --git a/mainwindow.py b/mainwindow.py index 3368df5..c7d103a 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -55,7 +55,7 @@ if __name__ == "__main__": style = ttk.Style(root) root.tk.call('source', f"{theme_path}/water.tcl") try: - root.tk.call('set_theme', 'light') + root.tk.call('set_theme', 'dark') except tk.TclError: pass root.mainloop()