You are not logged in.

1

Wednesday, December 28th 2011, 12:01pm

QLineEdit automatically adjust font size

Is it possible for a QLineEdit object to automatically lower the font size if the text doesn't fit the QLineEdit?

2

Wednesday, December 28th 2011, 12:30pm

you will have to write some code for it.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Used tags

QLineEdit