fix: offset of commit graph does not look quite right (#1287)

This is because that when using `VirtualizingStackPanel`, the `Bounds.Height` of `ListBoxItem` may not be the same with its `Height` setted in axaml.

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-05-08 12:22:23 +08:00
parent 6df38ad970
commit 832fcd7487
No known key found for this signature in database
3 changed files with 52 additions and 30 deletions

View file

@ -76,7 +76,7 @@
<Style Selector="ListBoxItem">
<Setter Property="Margin" Value="0"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="Height" Value="28"/>
<Setter Property="Height" Value="26"/>
<Setter Property="Template">
<ControlTemplate>
<Grid>