So it appears to work. That is good to know. I will see about adding some code to Sigil to look into its preferences for a qt_styles.qss file and if found, to load it. I think this has to be done before the application main window is loaded.
I have no idea about what sizes are good or default and what are not. Most of these things are inherited from the underlying OS (as is correct). This stylesheet approach is mainly used to override whatever the damn Windows is passing along to Qt for min font sizes for specific things. I can not understand how a Windows 10 can not have settings for controlling all of these things at the OS level.
If someone has a problem dialog, I can look at its Sigil/src/Form_Files/*.ui file for what Qt classes it uses in a particular dialog. You can then add higher minimum font size style info for those types of Widgets as well.
That is what I did to find out that the FindReplace.ui used QComboBox widgets to do its thing. There might even be a way to specify these changes only for certain dialogs instead of at the widget level but I really have not studied it enough. On Mac OS X, the qt_styles.qss trick is simply not needed.
|