Categories
How to change text size in QCompleter?
The proposed text of QCompleter does not fit because QLineEdit is short and it uses small font. It is necessary to reduce the font, but setFont, which I am used to, is not an attribute of QCompleter.
Answer the question
In order to leave comments, you need to log in
It's better to use Qt Style Sheets. But it's possible like this:completer.popup().setFont(font)
completer.popup().setFont(font)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question