commit 54
This commit is contained in:
BIN
__pycache__/cfd_app_config.cpython-312.pyc
Normal file
BIN
__pycache__/cfd_app_config.cpython-312.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cfd_ui_setup.cpython-312.pyc
Normal file
BIN
__pycache__/cfd_ui_setup.cpython-312.pyc
Normal file
Binary file not shown.
BIN
__pycache__/custom_file_dialog.cpython-312.pyc
Normal file
BIN
__pycache__/custom_file_dialog.cpython-312.pyc
Normal file
Binary file not shown.
@@ -406,6 +406,7 @@ class WidgetManager:
|
|||||||
Tooltip(self.settings_button, "Einstellungen")
|
Tooltip(self.settings_button, "Einstellungen")
|
||||||
|
|
||||||
if self.dialog.dialog_mode == "save":
|
if self.dialog.dialog_mode == "save":
|
||||||
|
action_buttons_frame.grid_columnconfigure(0, weight=1)
|
||||||
self.filename_entry = ttk.Entry(action_buttons_frame)
|
self.filename_entry = ttk.Entry(action_buttons_frame)
|
||||||
save_button = ttk.Button(
|
save_button = ttk.Button(
|
||||||
action_buttons_frame, text="Speichern", command=self.dialog.on_save)
|
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")
|
ft[0] for ft in self.dialog.filetypes], state="readonly")
|
||||||
|
|
||||||
if button_box_pos == 'left':
|
if button_box_pos == 'left':
|
||||||
action_buttons_frame.grid_columnconfigure(0, weight=1)
|
|
||||||
self.filename_entry.grid(
|
self.filename_entry.grid(
|
||||||
row=0, column=0, sticky="ew", padx=(10, 5))
|
row=0, column=0, sticky="ew", padx=(10, 5))
|
||||||
save_button.grid(row=0, column=1, sticky="e", padx=(0, 10))
|
save_button.grid(row=0, column=1, sticky="e", padx=(0, 10))
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ if __name__ == "__main__":
|
|||||||
style = ttk.Style(root)
|
style = ttk.Style(root)
|
||||||
root.tk.call('source', f"{theme_path}/water.tcl")
|
root.tk.call('source', f"{theme_path}/water.tcl")
|
||||||
try:
|
try:
|
||||||
root.tk.call('set_theme', 'light')
|
root.tk.call('set_theme', 'dark')
|
||||||
except tk.TclError:
|
except tk.TclError:
|
||||||
pass
|
pass
|
||||||
root.mainloop()
|
root.mainloop()
|
||||||
|
|||||||
Reference in New Issue
Block a user