Changes between Initial Version and Version 1 of Ticket #1421, comment 4
- Timestamp:
- 07/25/13 11:45:08 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1421, comment 4
initial v1 7 7 8 8 Another possibility is to set the columns to autoresize depending on the contents and get rid of the questionable `AdjustListViewColumnSizes` method. 9 10 Unfortunately, there is not option for automatic resize of columns in a `ListView`. I thought this could be achieved by using the magic value -2 for the column width (cf. http://stackoverflow.com/questions/4802744/adjust-listview-columns-to-fit-with-winforms), but this, as the `AdjustListViewColumnSizes`, has to be triggered manually.