Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 1 of Ticket #1421, comment 4


Ignore:
Timestamp:
07/25/13 11:45:08 (11 years ago)
Author:
mkommend
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1421, comment 4

    initial v1  
    77
    88Another possibility is to set the columns to autoresize depending on the contents and get rid of the questionable `AdjustListViewColumnSizes` method.
     9
     10Unfortunately, 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.