View Full Version : Shrink Text
lamp
30th November 2010, 05:38
how to Shrink Text to fit Qlabel?
tbscope
30th November 2010, 05:43
Please define: "shrink text"
Is this:
1. Adjust the font size?
2. Clip the text?
3. Adjust the text?
4 ...
lamp
30th November 2010, 05:48
Please define: "shrink text"
Is this:
1. Adjust the font size?
2. Clip the text?
3. Adjust the text?
4 ...
auto Adjust the font size whit Qlabel size
tbscope
30th November 2010, 06:04
QLabel::setScaledContents(bool)?
lamp
30th November 2010, 06:25
or
3. Adjust the text?
tbscope
30th November 2010, 06:30
If you want to adjust the text, look into the fontmetrics.
http://doc.qt.nokia.com/4.7/qfontmetrics.html#elidedText
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.