[Qt-interest] Center windget into QtableWidget's cell

Iurii Gordiienko hordi at ukr.net
Tue Feb 10 11:43:31 CET 2009


Hi    How can I center widget into the QTableWidget's cell? I use code like this:    
    _twMain->setCellWidget( i, CHECK_COLUMN, new QCheckBox(_twMain) );    but as result I have resized QCheckBox to cell's size.    Qt-4.5.0-rc    Thank you  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090210/2c5bfc0b/attachment.html 


More information about the Qt-interest-old mailing list