kikipoulet / SukiUI

UI Theme for AvaloniaUI
MIT License
1.52k stars 140 forks source link

[Bug] DataGrid: Header and Table Grid Lines Misalignment with CanUserResizeColumns and GridLinesVisibility #319

Open Louvest opened 1 month ago

Louvest commented 1 month ago

Check the following items

Description of the issue

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

  1. Set up a DataGrid in Avalonia.
  2. Enable CanUserResizeColumns="True" and GridLinesVisibility="All".

Additional Information

image