I'd like to set a font-size value in a QStyleSheet, e.g.:
QLineEdit { font-size: 80%; }
But this does not seem to work at all. I can set the size absolutely using "pt", "px", etc. Should I expect using percentages to work?
(My actual goal is sizing a QComboBox in a QTreeView where most of the other item widgets are just text. I want to make the QComboBox smaller so it doesn't stand out so much and increase the row height. But I wanted to do this in a platform-independent way.)
Thanks,
Dan
Bookmarks