refactor: use cutom RevisionFileTreeView instead of TreeDataGrid

This commit is contained in:
leo 2024-07-12 13:54:13 +08:00
parent b07aa9e63f
commit 7f228385f9
No known key found for this signature in database
5 changed files with 376 additions and 178 deletions

View file

@ -1070,15 +1070,15 @@
</Style>
<Style Selector="ToggleButton.tree_expander">
<Setter Property="Margin" Value="0" />
<Setter Property="Width" Value="8" />
<Setter Property="Height" Value="8" />
<Setter Property="Width" Value="10" />
<Setter Property="Height" Value="10" />
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Template">
<ControlTemplate>
<Border Background="Transparent"
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
HorizontalAlignment="Center"
HorizontalAlignment="Left"
VerticalAlignment="Center">
<Path x:Name="ChevronPath"
Data="M 4 0 L 8 4 L 4 8 Z"