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:
parent
eb15b277be
commit
c8003f0e14
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue