From aa12d099aea0ac5676cb6aea121dc6282d11cb5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Mathieu?= Date: Sat, 17 Jan 2026 14:38:14 +0100 Subject: [PATCH] =?UTF-8?q?Ja/Nein-Dialog:=20Fenster=20vergr=C3=B6=C3=9Fer?= =?UTF-8?q?t=20(600x220)=20und=20Button-Gr=C3=B6=C3=9Fen=20angepasst=20(wi?= =?UTF-8?q?dth=3D18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gui.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gui.py b/gui.py index 750c520..f3f6e61 100755 --- a/gui.py +++ b/gui.py @@ -654,25 +654,25 @@ class JaNeinAbbruchDialog(tk.Toplevel): self.title(title) - self.geometry("550x200") # Größeres Fenster für vollständige Textanzeige - self.minsize(500, 180) # Minimale Größe - tk.Label(self, text=self.message, font=('Helvetica', 13), wraplength=500).pack(pady=25) + self.geometry("600x220") # Größeres Fenster für passende Button-Größen + self.minsize(550, 200) # Minimale Größe + tk.Label(self, text=self.message, font=('Helvetica', 13), wraplength=550).pack(pady=25) btn_frame = tk.Frame(self) - btn_frame.pack(pady=12) + btn_frame.pack(pady=15) - # Buttons (macOS-Style) + # Buttons (macOS-Style) - angepasste Größen für bessere Proportionen # Primärer Button (blau) - Ja ist die primäre Aktion - ja_btn = create_macos_button(btn_frame, text="Ja", command=self.on_ja, width=16, default=True) - ja_btn.pack(side=tk.LEFT, padx=10, pady=6) + ja_btn = create_macos_button(btn_frame, text="Ja", command=self.on_ja, width=18, default=True) + ja_btn.pack(side=tk.LEFT, padx=12, pady=6) # Sekundärer Button (grau) - nein_btn = create_macos_button(btn_frame, text="Nein", command=self.on_nein, width=16) - nein_btn.pack(side=tk.LEFT, padx=10, pady=6) + nein_btn = create_macos_button(btn_frame, text="Nein", command=self.on_nein, width=18) + nein_btn.pack(side=tk.LEFT, padx=12, pady=6) # Sekundärer Button (grau) - abbruch_btn = create_macos_button(btn_frame, text="Abbruch", command=self.on_abbruch, width=16) - abbruch_btn.pack(side=tk.LEFT, padx=10, pady=6) + abbruch_btn = create_macos_button(btn_frame, text="Abbruch", command=self.on_abbruch, width=18) + abbruch_btn.pack(side=tk.LEFT, padx=12, pady=6) self.center_window()