Statusbar now fills the row correctly.

This commit is contained in:
PySimpleGUI 2020-08-17 10:51:38 -04:00
parent 804b968b68
commit 068a881662
1 changed files with 2 additions and 1 deletions

View File

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