abstand zwischen den buttons

This commit is contained in:
julian 2024-01-22 12:06:54 +01:00
parent d315ddc8e9
commit 8e0bb82caa

View File

@ -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()