[Qt-interest] How to make size of QLineEdit fit text content?

Lingfa Yang lingfa at brandeis.edu
Tue May 4 21:58:14 CEST 2010


How to make size of QLineEdit fit text content?
I checked 
lineEdit->adjustSize(); 
it does not fit longer text in, and the widget remains in default width.




More information about the Qt-interest-old mailing list