View Single Post
Old 05-24-2016, 12:15 PM   #16
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,864
Karma: 6120478
Join Date: Nov 2009
Device: many
Okay I created a text file called qt_styles.qss with the following contents on my desktop:

Code:
QLabel { font-size: 16pt }
QLineEdit { font-size: 16pt }
QComboBox { font-size: 16pt }
Then I fired up Sigil using the following command line on my Mac:

Code:
cd /Applications/Sigil.app/Contents/MacOS
./Sigil -stylesheet /Users/kbhend/Desktop/qt_styles.qss
And this worked to increase the sizes of the text in the QComboBox that is used in the Find and Replace dialog.

So please try the same thing on Windows (adding the command line option):
-stylesheet=PATH_TO_YOUR_QT_STYLES.QSS

and see if it can be used to change those fields in the Find and Replace enough to make things better. Right now, I can increase things too much and mess things up so there are limits before the dialog itself has to grow in size but this should help.

If this does work well enough to use, I can modify Sigil to look in its own preferences for a qt_styles.qss file and if found try and load it. It would default to being empty.

KevinH

edit: @theducks, you should be able to use this same approach to change background and foreground elements colors as well.

Last edited by KevinH; 05-24-2016 at 12:17 PM. Reason: add response to theducks
KevinH is offline   Reply With Quote