style(TreeView): padding 0

This commit is contained in:
leo 2020-08-05 11:47:21 +08:00
parent c9cb1af7ac
commit 1732e5ed7c
2 changed files with 5 additions and 2 deletions

View file

@ -207,6 +207,7 @@
<TreeView <TreeView
Grid.Row="3" Grid.Row="3"
x:Name="localBranchTree" x:Name="localBranchTree"
Padding="0"
Background="{StaticResource Brush.BG3}" Background="{StaticResource Brush.BG3}"
FontFamily="Consolas" FontFamily="Consolas"
LostFocus="TreeLostFocus" LostFocus="TreeLostFocus"
@ -283,6 +284,7 @@
<TreeView <TreeView
Grid.Row="5" Grid.Row="5"
x:Name="remoteBranchTree" x:Name="remoteBranchTree"
Padding="0"
Background="{StaticResource Brush.BG3}" Background="{StaticResource Brush.BG3}"
FontFamily="Consolas" FontFamily="Consolas"
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Disabled"

View file

@ -73,7 +73,8 @@
<TreeView <TreeView
x:Name="repositories" x:Name="repositories"
Grid.Row="3" Grid.Row="3"
Margin="0, 4" Margin="0,4"
Padding="0"
AllowDrop="True" AllowDrop="True"
ContextMenuOpening="TreeContextMenuOpening" ContextMenuOpening="TreeContextMenuOpening"
Drop="TreeDrop" Drop="TreeDrop"