May 16, 2010, 2:36 PM
[CLOSED] Set ListView height to N rows
I would like to be able to set the height of a ListView to N rows high. I can calculate the height of a text row with TextMetrics using the ListView's el, but it seems the ListView is adding some margins or padding between the rows that TextMetrics does not account for.
Does ListView add its own padding/margins between rows, and if so, how can I get these values?
Does ListView add its own padding/margins between rows, and if so, how can I get these values?