commit 42
This commit is contained in:
Binary file not shown.
@@ -365,21 +365,24 @@ class WidgetManager:
|
||||
bottom_controls_frame, style="AccentBottom.TFrame")
|
||||
left_bottom_buttons.grid(row=0, column=0, sticky="w", pady=(5, 10))
|
||||
|
||||
self.status_bar = ttk.Label(
|
||||
left_bottom_buttons, text="", anchor="w", style="AccentBottom.TLabel")
|
||||
|
||||
if self.dialog.dialog_mode == "save":
|
||||
self.filename_entry = ttk.Entry(left_bottom_buttons, width=50)
|
||||
self.filename_entry.grid(
|
||||
row=0, column=1, padx=(5, 5), pady=5, sticky="ew")
|
||||
left_bottom_buttons.grid_columnconfigure(0, weight=1)
|
||||
left_bottom_buttons.grid_columnconfigure(1, weight=1)
|
||||
|
||||
ttk.Button(left_bottom_buttons, text="Speichern",
|
||||
command=self.dialog.on_save).grid(row=0, column=0, padx=(10, 5), pady=10)
|
||||
ttk.Button(left_bottom_buttons, text="Abbrechen",
|
||||
command=self.dialog.on_cancel).grid(row=1, column=0, padx=(10, 5))
|
||||
self.status_bar.grid(row=2, column=0, columnspan=2,
|
||||
sticky="ew", padx=10, pady=5)
|
||||
else:
|
||||
|
||||
# Status bar (top-left in the bottom area)
|
||||
self.status_bar = ttk.Label(
|
||||
left_bottom_buttons, text="", anchor="w", style="AccentBottom.TLabel")
|
||||
self.status_bar.grid(row=0, column=1, columnspan=2,
|
||||
sticky="e", padx=10, pady=5)
|
||||
ttk.Button(left_bottom_buttons, text="Öffnen", command=self.dialog.on_open).grid(
|
||||
|
Reference in New Issue
Block a user