From 8b33b99e8ae4e8ad70083f6c52e67d10e3199305 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:27:16 +0100 Subject: [PATCH] Update README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- tk/overview/README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/tk/overview/README.md b/tk/overview/README.md index 5b9bda2..60119b6 100644 --- a/tk/overview/README.md +++ b/tk/overview/README.md @@ -54,26 +54,16 @@ def changed() -> None: root = tk.Tk() -number_of_patches: int = 10 -width_label: int = 20 width_element: int = 10 -row_id: int = 0 -column_id: int = 0 - -frame = ttk.LabelFrame(root, text="Button") -frame.grid(row=row_id, column=column_id, sticky="nw", pady=5) - -label_number_of_patches = ttk.Label(frame, text="Button Text", width=width_label) -label_number_of_patches.grid(row=0, column=0, sticky="w") a_button = ttk.Button( - frame, + root, text="Don't press", width=width_element, command=changed, ) -a_button.grid(row=0, column=1, sticky="w") +a_button.grid(row=0, column=0, sticky="w") root.mainloop()