NLogViewer icon indicating copy to clipboard operation
NLogViewer copied to clipboard

Make sure ListViewLayoutManager.ResizeColumns is executed after layout

Open UEPSs opened this issue 3 years ago • 0 comments

When there is new item added to log view, ListViewLayoutManager.ResizeColumns() is called. By debugging, I find when ListViewLayoutManager.ResizeColumns() is called, layout does not finish and column widths read in this method are still old values, so otherColumnsWidth and fillWidth local variable is calculated incorrectly.

UEPSs avatar Oct 09 '22 07:10 UEPSs