revert: item should fill the height of tree node

This commit is contained in:
leo 2024-08-22 21:57:39 +08:00
parent c2549869ce
commit 7389f5d521
No known key found for this signature in database

View file

@ -89,7 +89,7 @@
<ListBox.ItemTemplate> <ListBox.ItemTemplate>
<DataTemplate DataType="vm:RepositoryNode"> <DataTemplate DataType="vm:RepositoryNode">
<Grid Background="Transparent" <Grid Background="Transparent"
VerticalAlignment="Center" Height="30"
ColumnDefinitions="16,18,Auto,*" ColumnDefinitions="16,18,Auto,*"
Margin="{Binding Depth, Converter={x:Static c:IntConverters.ToTreeMargin}}" Margin="{Binding Depth, Converter={x:Static c:IntConverters.ToTreeMargin}}"
Loaded="SetupTreeNodeDragAndDrop" Loaded="SetupTreeNodeDragAndDrop"