[Qt-interest] Wrapping text in a listviewItem
Alessandro Portale
alessandro.portale at trolltech.com
Tue Mar 2 10:16:11 CET 2010
Hi,
On 3/2/2010 7:14 AM, Nishant Sharma wrote:
> I am putting an intem in QListViewItem. Is there any property by which
> the text of the item gets wrapped instead of showing one big line of text ?
Try QListView::setWordWrap(bool)
http://doc.qt.nokia.com/latest/qlistview.html#wordWrap-prop
--
Alessandro Portale
Software Engineer
Nokia, Qt Development Frameworks
More information about the Qt-interest-old
mailing list