style<Dashboard>: set MaxHeight for local branch tree to enable scrolling when there're so many local branches

This commit is contained in:
leo 2021-05-21 12:55:44 +08:00
parent ad0d1f0ab8
commit 1a6d3ffe70

View file

@ -167,6 +167,7 @@
Grid.Row="3" Grid.Row="3"
x:Name="localBranchTree" x:Name="localBranchTree"
FontFamily="Consolas" FontFamily="Consolas"
MaxHeight="300"
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
LostFocus="OnTreeLostFocus" LostFocus="OnTreeLostFocus"