From 068a88166298de021b421d5a3f1f932917d299e7 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Mon, 17 Aug 2020 10:51:38 -0400 Subject: [PATCH] Statusbar now fills the row correctly. --- PySimpleGUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 60832dfd..db5e1ceb 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -12403,7 +12403,8 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form): tktext_label.configure(background=element.BackgroundColor) if element.TextColor != COLOR_SYSTEM_DEFAULT and element.TextColor is not None: tktext_label.configure(fg=element.TextColor) - tktext_label.pack(side=tk.LEFT, padx=elementpad[0], pady=elementpad[1], fill=tk.BOTH, expand=True) + tktext_label.pack(side=tk.LEFT, padx=elementpad[0], pady=elementpad[1], fill=tk.X, expand=True) + row_fill_direction = tk.X if element.Visible is False: tktext_label.pack_forget() element.TKText = tktext_label