- in Preferences, added a control in the General -> GUI Settings to control the font size for the entire application; require an app restart
This commit is contained in:
@@ -167,6 +167,12 @@ if __name__ == '__main__':
|
||||
else:
|
||||
app.setStyle('windowsvista')
|
||||
|
||||
if settings.contains("font_size"):
|
||||
font_size = int(settings.value("font_size", type=str)) # noqa
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(font_size)
|
||||
app.setFont(font)
|
||||
|
||||
fc = App(qapp=app)
|
||||
|
||||
# interrupt the Qt loop such that Python events have a chance to be responsive
|
||||
|
||||
Reference in New Issue
Block a user