C# ListView Last Column Too Wide -
when list view's 'autoresizecolumns(...)' method called either 'none' or 'columncontent' parameters last column not expand fill entire panel, if 'autoresizecolumns(...)' called 'headersize' parameter last column expanded, looks odd if text centre or right aligned.
i've been able fix issue adding blank column end expand , contract necessary, leaving intended last column cover width of heading seems bit hackie. neater way it?
thanks.
the columnheader can set adjust @ run time column contents or heading. can setting width property -2 (to autosize width of column)
or
listview1.autoresizecolumns(columnheaderautoresizestyle.headersize)
Comments
Post a Comment