[Interest] How to make all items in QListView the same size?

Philipp Kursawe phil.kursawe at gmail.com
Wed Nov 27 16:38:51 CET 2013


It seems the QListView icon mode calculates individual item sizes based on
the items display role. It does not take the set TextElideMode into account
and also does not workbreak the text.

I would like to have all items the same size 90x100 and the text under the
icon max 2 lines height with wordwrap and elided. Is that even possible
without resorting to a custom delegate?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131127/47db4e57/attachment.html>


More information about the Interest mailing list