QListWidget: is there a way to set the number of visible rows?
Solved
General and Desktop
-
When I create a QListWidget is sizes itself according to it's hint values, but is there a standard way to set the height so that N items are visible?
I'm guessing I will have to get the height of each row, and overload sizeHint.
(As in Resize QListWidget in scroll area)?A
setVisibleRows(int)
method would be nice. -
Hi
As far as I know, there is not.