View Full Version : change the size of table widget header labels in qt
sliverTwist
19th April 2013, 11:43
Hello
Is it possible to change the size of the HorizontalHeaderLabels in Qt ?
Santosh Reddy
19th April 2013, 11:51
Do you mean header label font size?
sliverTwist
19th April 2013, 11:59
now i mean set the size of the header label container field .
I have three words in the label and when showing the table i do not get a the proper display for it
Santosh Reddy
19th April 2013, 12:04
If I understand your problem, you have a long header label (text) which is not fitting in the column width, if so just increasing the column width will work. or better just call resizeColumnsToContents(); on the view
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.