From 8e0bb82caa6dc9d39b031d0d50b8f51534d04279 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 22 Jan 2024 12:06:54 +0100 Subject: [PATCH] abstand zwischen den buttons --- journal.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/journal.py b/journal.py index b1a77a2..96c1fbb 100755 --- a/journal.py +++ b/journal.py @@ -46,7 +46,6 @@ name_entry.focus() # textbox message_label = tk.Label(journal, text = "Deine Nachricht:") message_label.pack(fill = 'x', expand = True) -#message_text = ttk.Text(journal, height = 50) message_text = tk.Text(journal, height = 50) message_text.pack() @@ -68,19 +67,16 @@ def save_and_quit_button_clicked(): button_send = ttk.Button( journal, text = "Abschicken", - # command = lambda: showinfo(title = "Information", message = "Deine Nachricht wurde gespeichert") command = lambda: send_button_clicked() ) -button_send.pack() +button_send.pack(pady = 15, padx = 15) # Quit Button button_quit = ttk.Button( journal, text = "Speichern und Beenden", - #command = lambda: journal.quit() command = lambda: save_and_quit_button_clicked() ) - button_quit.pack() -journal.mainloop() +journal.mainloop() \ No newline at end of file