From 1a6d3ffe70432c2f5c181cfc70f1865bf1c17381 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 21 May 2021 12:55:44 +0800 Subject: [PATCH] style: set MaxHeight for local branch tree to enable scrolling when there're so many local branches --- src/Views/Widgets/Dashboard.xaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Views/Widgets/Dashboard.xaml b/src/Views/Widgets/Dashboard.xaml index 1d8ec588..c5217d22 100644 --- a/src/Views/Widgets/Dashboard.xaml +++ b/src/Views/Widgets/Dashboard.xaml @@ -167,6 +167,7 @@ Grid.Row="3" x:Name="localBranchTree" FontFamily="Consolas" + MaxHeight="300" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" LostFocus="OnTreeLostFocus"