fix: layout do not updated after group was collapsed

This commit is contained in:
leo 2024-07-04 19:41:38 +08:00
parent f904b3b71a
commit 91d73e2aa4
No known key found for this signature in database
2 changed files with 3 additions and 5 deletions

View file

@ -231,7 +231,7 @@
</TextBox.InnerRightContent>
</TextBox>
<Grid Grid.Row="2" x:Name="leftSidebarGroups" RowDefinitions="28,Auto,28,Auto,28,Auto,28,Auto,28,Auto">
<Grid Grid.Row="2" x:Name="leftSidebarGroups" Margin="0,4,0,0" RowDefinitions="28,Auto,28,Auto,28,Auto,28,Auto,28,Auto">
<!-- Local Branches -->
<ToggleButton Grid.Row="0" Classes="group_expander" IsChecked="{Binding IsLocalBranchGroupExpanded, Mode=TwoWay}">
<TextBlock Classes="group_header_label" Margin="0" Text="{DynamicResource Text.Repository.LocalBranches}"/>