|
218 | 218 | <ToggleButton Grid.Row="0" Classes="group_expander" IsChecked="{Binding IsLocalBranchGroupExpanded, Mode=TwoWay}"> |
219 | 219 | <Grid ColumnDefinitions="16,*,Auto,Auto"> |
220 | 220 | <Path Grid.Column="0" Width="11" Height="11" HorizontalAlignment="Left" Data="{StaticResource Icons.Local}" Fill="{DynamicResource Brush.FG2}"/> |
221 | | - <TextBlock Grid.Column="1" Classes="group_header_label" Margin="0"> |
222 | | - <Run Text="{DynamicResource Text.Repository.LocalBranches}"/> |
223 | | - <Run Text="{Binding LocalBranchesCount, StringFormat='({0})', Mode=OneWay}"/> |
224 | | - </TextBlock> |
| 221 | + <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| 222 | + <TextBlock Classes="group_header_label" Text="{DynamicResource Text.Repository.LocalBranches}"/> |
| 223 | + <TextBlock Classes="group_header_label" Text="{Binding LocalBranchesCount, StringFormat='({0})'}" Margin="4,0,0,0"/> |
| 224 | + </StackPanel> |
225 | 225 | <Button Grid.Column="2" |
226 | 226 | Classes="icon_button" |
227 | 227 | Width="14" |
|
251 | 251 | <ToggleButton Grid.Row="2" Classes="group_expander" IsChecked="{Binding IsRemoteGroupExpanded, Mode=TwoWay}"> |
252 | 252 | <Grid ColumnDefinitions="16,*,Auto,Auto"> |
253 | 253 | <Path Grid.Column="0" Width="12" Height="12" HorizontalAlignment="Left" Data="{StaticResource Icons.Remotes}" Fill="{DynamicResource Brush.FG2}"/> |
254 | | - <TextBlock Grid.Column="1" Classes="group_header_label" Margin="0"> |
255 | | - <Run Text="{DynamicResource Text.Repository.Remotes}"/> |
256 | | - <Run Text="{Binding Remotes, Converter={x:Static c:ListConverters.ToCount}, Mode=OneWay}"/> |
257 | | - </TextBlock> |
| 254 | + <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| 255 | + <TextBlock Classes="group_header_label" Text="{DynamicResource Text.Repository.Remotes}"/> |
| 256 | + <TextBlock Classes="group_header_label" Text="{Binding Remotes, Converter={x:Static c:ListConverters.ToCount}}" Margin="4,0,0,0"/> |
| 257 | + </StackPanel> |
258 | 258 | <Button Grid.Column="2" |
259 | 259 | Classes="icon_button" |
260 | 260 | Width="14" |
|
284 | 284 | <ToggleButton Grid.Row="4" Classes="group_expander" IsChecked="{Binding IsTagGroupExpanded, Mode=TwoWay}"> |
285 | 285 | <Grid ColumnDefinitions="16,*,Auto,Auto,Auto"> |
286 | 286 | <Path Grid.Column="0" Width="11" Height="11" Margin="2,1,0,0" HorizontalAlignment="Left" Data="{StaticResource Icons.Tags}" Fill="{DynamicResource Brush.FG2}"/> |
287 | | - <TextBlock Grid.Column="1" Classes="group_header_label" Margin="0"> |
288 | | - <Run Text="{DynamicResource Text.Repository.Tags}"/> |
289 | | - <Run Text="{Binding Tags, Converter={x:Static c:ListConverters.ToCount}, Mode=OneWay}"/> |
290 | | - </TextBlock> |
| 287 | + <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| 288 | + <TextBlock Classes="group_header_label" Text="{DynamicResource Text.Repository.Tags}"/> |
| 289 | + <TextBlock Classes="group_header_label" Text="{Binding Tags, Converter={x:Static c:ListConverters.ToCount}}" Margin="4,0,0,0"/> |
| 290 | + </StackPanel> |
291 | 291 | <ToggleButton Grid.Column="2" |
292 | 292 | Classes="show_as_tree" |
293 | 293 | Width="14" |
|
329 | 329 | <ToggleButton Grid.Row="6" Classes="group_expander" IsChecked="{Binding IsSubmoduleGroupExpanded, Mode=TwoWay}"> |
330 | 330 | <Grid ColumnDefinitions="16,*,Auto,Auto,Auto"> |
331 | 331 | <Path Grid.Column="0" Width="10" Height="10" Margin="2,0,0,0" HorizontalAlignment="Left" Data="{StaticResource Icons.Submodules}" Fill="{DynamicResource Brush.FG2}"/> |
332 | | - <TextBlock Grid.Column="1" Classes="group_header_label" Margin="0"> |
333 | | - <Run Text="{DynamicResource Text.Repository.Submodules}"/> |
334 | | - <Run Text="{Binding Submodules, Converter={x:Static c:ListConverters.ToCount}, Mode=OneWay}"/> |
335 | | - </TextBlock> |
| 332 | + <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| 333 | + <TextBlock Classes="group_header_label" Text="{DynamicResource Text.Repository.Submodules}"/> |
| 334 | + <TextBlock Classes="group_header_label" Text="{Binding Submodules, Converter={x:Static c:ListConverters.ToCount}}" Margin="4,0,0,0"/> |
| 335 | + </StackPanel> |
336 | 336 | <ToggleButton Grid.Column="2" |
337 | 337 | Classes="show_as_tree" |
338 | 338 | Width="14" |
|
371 | 371 | <ToggleButton Grid.Row="8" Classes="group_expander" IsChecked="{Binding IsWorktreeGroupExpanded, Mode=TwoWay}"> |
372 | 372 | <Grid ColumnDefinitions="16,*,Auto,Auto"> |
373 | 373 | <Path Grid.Column="0" Width="11" Height="11" Margin="1,0,0,0" HorizontalAlignment="Left" Data="{StaticResource Icons.Worktrees}" Fill="{DynamicResource Brush.FG2}"/> |
374 | | - <TextBlock Grid.Column="1" Classes="group_header_label" Margin="0"> |
375 | | - <Run Text="{DynamicResource Text.Repository.Worktrees}"/> |
376 | | - <Run Text="{Binding Worktrees, Converter={x:Static c:ListConverters.ToCount}, Mode=OneWay}"/> |
377 | | - </TextBlock> |
| 374 | + <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| 375 | + <TextBlock Classes="group_header_label" Text="{DynamicResource Text.Repository.Worktrees}"/> |
| 376 | + <TextBlock Classes="group_header_label" Text="{Binding Worktrees, Converter={x:Static c:ListConverters.ToCount}}" Margin="4,0,0,0"/> |
| 377 | + </StackPanel> |
378 | 378 | <Button Grid.Column="2" |
379 | 379 | Classes="icon_button" |
380 | 380 | Width="14" |
|
0 commit comments