This commit is contained in:
Kovid Goyal 2021-06-16 20:39:45 +05:30
parent 03b7feb507
commit 9e77e2848e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -166,7 +166,7 @@ class EditorSettings(BasicSettings): # {{{
fc = FontFamilyChooser(self) fc = FontFamilyChooser(self)
self('editor_font_family', widget=fc, getter=attrgetter('font_family'), setter=lambda x, val: setattr(x, 'font_family', val)) self('editor_font_family', widget=fc, getter=attrgetter('font_family'), setter=lambda x, val: setattr(x, 'font_family', val))
fc.family_changed.connect(self.emit_changed) fc.family_changed.connect(self.emit_changed)
l.addRow(_('Editor font family:'), fc) l.addRow(_('Editor font &family:'), fc)
fs = self('editor_font_size') fs = self('editor_font_size')
fs.setMinimum(8), fs.setSuffix(' pt'), fs.setMaximum(50) fs.setMinimum(8), fs.setSuffix(' pt'), fs.setMaximum(50)