How can I make sure a ListView item always resizes to show all rows?
- by Jon Cage
I have a panel which contains a TableLayoutPanel which itself contains a number of ListViews and Labels.
What I'd like is for each list view to resize to fit all of it's contents in vertically (i.e. so that every row is visible). The TableLayoutPanel should handle any vertical scrolling but I can't work out how to get the ListView to resize itself depending on the number of rows.
Do I need to handle OnResize and manually resize or is there already something to handle this?