how to Shrink Text to fit Qlabel?
Printable View
how to Shrink Text to fit Qlabel?
Please define: "shrink text"
Is this:
1. Adjust the font size?
2. Clip the text?
3. Adjust the text?
4 ...
QLabel::setScaledContents(bool)?
or
3. Adjust the text?
If you want to adjust the text, look into the fontmetrics.
http://doc.qt.nokia.com/4.7/qfontmet...tml#elidedText