Skip to content

Commit 223d8a6

Browse files
committed
fixed an issue where column resize was using next columns max & min widths
1 parent 3200ef8 commit 223d8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WinUI.TableView/TableViewColumnHeader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ protected override void OnManipulationDelta(ManipulationDeltaRoutedEventArgs e)
352352
}
353353
else if (_resizePreviousStarted && _headerRow?.GetPreviousHeader(this) is { } header)
354354
{
355-
header.Width = Math.Clamp(header.ActualWidth + e.Position.X, MinWidth, MaxWidth);
355+
header.Width = Math.Clamp(header.ActualWidth + e.Position.X, header.MinWidth, header.MaxWidth);
356356
header.Measure(new Size(header.Width, ActualHeight));
357357
}
358358
}

0 commit comments

Comments
 (0)