You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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