1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-15 02:54:09 -04:00

Fixed initial display when selecting fonts.

This commit is contained in:
Joe R 2022-04-01 20:52:13 -04:00
parent eb15b277be
commit c8003f0e14

View file

@ -84,6 +84,8 @@ class FontChooserDialog(MfxDialog):
self.entry = ttk.Entry(frame) self.entry = ttk.Entry(frame)
self.entry.grid(row=0, column=0, columnspan=2, sticky='news') self.entry.grid(row=0, column=0, columnspan=2, sticky='news')
self.entry.insert('end', _('abcdefghABCDEFGH')) self.entry.insert('end', _('abcdefghABCDEFGH'))
self.entry.configure(font=(self.font_family, self.font_size,
self.font_slant, self.font_weight))
self.list_box = tkinter.Listbox(frame, width=36, exportselection=False) self.list_box = tkinter.Listbox(frame, width=36, exportselection=False)
sb = ttk.Scrollbar(frame) sb = ttk.Scrollbar(frame)
self.list_box.configure(yscrollcommand=sb.set) self.list_box.configure(yscrollcommand=sb.set)