From acaaba7758439d89a6bf0ad3148eda055733af59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Mathieu?= Date: Sat, 17 Jan 2026 14:40:44 +0100 Subject: [PATCH] =?UTF-8?q?Ja/Nein-Dialog:=20Button-Breiten=20reduziert=20?= =?UTF-8?q?(12/12/14)=20und=20Fenster=20kompakter=20(500x200)=20f=C3=BCr?= =?UTF-8?q?=20bessere=20Lesbarkeit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gui.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gui.py b/gui.py index 16deb77..18a1273 100755 --- a/gui.py +++ b/gui.py @@ -652,25 +652,25 @@ class JaNeinAbbruchDialog(tk.Toplevel): self.title(title) - 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) + self.geometry("500x200") # Kompakteres Fenster für bessere Lesbarkeit + self.minsize(480, 180) # Minimale Größe + tk.Label(self, text=self.message, font=('Helvetica', 13), wraplength=450).pack(pady=25) btn_frame = tk.Frame(self) btn_frame.pack(pady=15) - # Buttons (macOS-Style) - angepasste Größen für bessere Proportionen + # Buttons (macOS-Style) - kompaktere Größen für bessere Lesbarkeit # Primärer Button (blau) - Ja ist die primäre Aktion - 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) + ja_btn = create_macos_button(btn_frame, text="Ja", command=self.on_ja, width=12, default=True) + ja_btn.pack(side=tk.LEFT, padx=10, pady=6) # Sekundärer Button (grau) - 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) + nein_btn = create_macos_button(btn_frame, text="Nein", command=self.on_nein, width=12) + nein_btn.pack(side=tk.LEFT, padx=10, pady=6) # Sekundärer Button (grau) - 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) + abbruch_btn = create_macos_button(btn_frame, text="Abbruch", command=self.on_abbruch, width=14) + abbruch_btn.pack(side=tk.LEFT, padx=10, pady=6) self.center_window()