Hi,
Is there any way to put the list items in the middle of the row that they exist?
Regards
Hi,
Is there any way to put the list items in the middle of the row that they exist?
Regards
see,
for widgets
for standard item modelvoid QListWidgetItem::setTextAlignment ( int alignment )
void QTableWidgetItem::setTextAlignment ( int alignment )
void QTreeWidgetItem::setTextAlignment ( int column, int alignment )
void QStandardItem::setTextAlignment ( Qt::Alignment alignment )
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
See QListWidgetItem::setTextAlignment().
PS. Please search the forums before asking questions. This question has been asked before.
J-P Nurmi
Hi,
Sorry about the rules. But, I actually want to ask is there a way to do it from the designer? Thanks.
Bookmarks