Fonts for tables. font parameter now works

This commit is contained in:
MikeTheWatchGuy 2019-01-16 16:30:49 -05:00
parent dac1dbd084
commit 7a7fac519f
1 changed files with 1 additions and 0 deletions

View File

@ -5692,6 +5692,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form:Window):
ttk.Style().configure("Treeview", foreground=element.TextColor)
if element.RowHeight is not None:
ttk.Style().configure("Treeview", rowheight=element.RowHeight)
ttk.Style().configure("Treeview", font=font)
# scrollable_frame.pack(side=tk.LEFT, padx=elementpad[0], pady=elementpad[1], expand=True, fill='both')
treeview.bind("<<TreeviewSelect>>", element.treeview_selected)
if element.BindReturnKey: