When enabling CanUserResizeColumns="True" and GridLinesVisibility="All" in DataGrid, grid lines in the header (created by CanUserResizeColumns) and in the table (created by GridLinesVisibility) are misaligned. The line color in the table differs from that in the header, and the table lines are offset slightly to the right compared to the header lines.
Package Version
6.0.0-rc
Environment
Windows 10
Expected Behavior
Grid lines in the header and the table should match in color and alignment.
Reproduction
Set up a DataGrid in Avalonia.
Enable CanUserResizeColumns="True" and GridLinesVisibility="All".
Check the following items
Description of the issue
When enabling
CanUserResizeColumns="True"
andGridLinesVisibility="All"
in DataGrid, grid lines in the header (created by CanUserResizeColumns) and in the table (created by GridLinesVisibility) are misaligned. The line color in the table differs from that in the header, and the table lines are offset slightly to the right compared to the header lines.Package Version
6.0.0-rc
Environment
Windows 10
Expected Behavior
Grid lines in the header and the table should match in color and alignment.
Reproduction
Additional Information