[Qt-interest] QTable: set columns width to 100% of widget
Iurii Gordiienko
hordi at ukr.net
Thu Feb 12 08:22:01 CET 2009
Hi You should reimplement the event(QEvent*) or resizeEvent(QResizeEvent *) function and change the width of columns manually.
--- Original Message ---
From: Miguel Cardenas <mfcardenas at gmail.com>
To: qt-interest <qt-interest at trolltech.com>
Date: 11 february, 16:37:46
Subject: [Qt-interest] QTable: set columns width to 100% of widget
Hello
How can I set the columns to the 100% width of the QTable widget? I want to
avoid the blank space at the right of the columns, no matter how many they
are, one, two, three or more, want them to "pad" to the right border of the
widget. In case there are more than "X" columns then want to appear the
slide bars to avoid compress the columns so the contents can't be viewed.
How can I do that?
Thanks
--
Miguel Cardenas
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090212/24da6a1f/attachment.html
More information about the Qt-interest-old
mailing list