Re: How to make QListView consume the space when rows decrease in height on h-resize?
Originally Posted by JmpNop
1) When I resize the QListView horizontally so its width increases, the height of the individual items should shrink (due to word-wrapping). I know my delegate reports decreasing heights via its sizeHint().
Do you emit sizeHintChanged() signal to inform about the change? Without it the view will not know it needs to read the sizeHint again.
Your biological and technological distinctiveness will be added to our own. Resistance is futile.
Please ask Qt related questions on the forum and not using private messages or visitor messages.
Bookmarks