|
372 | 372 | </Grid.RowDefinitions> |
373 | 373 |
|
374 | 374 | <StackPanel Grid.Row="0" Orientation="Vertical"> |
375 | | - <StackPanel Margin="10,0,10,10" Orientation="Horizontal"> |
376 | | - <ui:OcticonImage Icon="git_branch" Foreground="{DynamicResource GitHubVsGrayText}" /> |
377 | | - <ui:GitHubActionLink x:Name="branchSelectionButton" Content="master" HasDropDown="True" Margin="5,0,0,0" VerticalAlignment="Center" Click="branchSelectionButton_Click" /> |
378 | | - <ui:OcticonImage Height="13" Icon="chevron_left" Foreground="{DynamicResource GitHubVsGrayText}" Margin="0,1,0,0" VerticalAlignment="Center" /> |
379 | | - <Label Content="{Binding CurrentBranchName}" Foreground="{DynamicResource GitHubVsToolWindowText}"/> |
380 | | - <ui:OcticonImage Icon="check" Foreground="Green" HorizontalAlignment="Right"/> |
| 375 | + <Grid Margin="10,0,10,10"> |
| 376 | + <Grid.ColumnDefinitions> |
| 377 | + <ColumnDefinition Width="Auto" /> |
| 378 | + <ColumnDefinition Width="*" /> |
| 379 | + </Grid.ColumnDefinitions> |
| 380 | + |
| 381 | + <StackPanel Grid.Column="0" Orientation="Horizontal"> |
| 382 | + <ui:OcticonImage Icon="git_branch" Foreground="{DynamicResource GitHubVsGrayText}" /> |
| 383 | + <ui:GitHubActionLink x:Name="branchSelectionButton" Content="master" HasDropDown="True" Margin="5,0,0,0" VerticalAlignment="Center" Click="branchSelectionButton_Click" /> |
| 384 | + <ui:OcticonImage Height="13" Icon="chevron_left" Foreground="{DynamicResource GitHubVsGrayText}" Margin="0,1,0,0" VerticalAlignment="Center" /> |
| 385 | + <Label Content="{Binding CurrentBranchName}" Foreground="{DynamicResource GitHubVsToolWindowText}"/> |
| 386 | + </StackPanel> |
| 387 | + |
| 388 | + <ui:OcticonImage Grid.Column="1" Icon="check" Foreground="Green" HorizontalAlignment="Right"/> |
381 | 389 | <Popup |
382 | 390 | x:Name="branchPopup" |
383 | 391 | AllowsTransparency="True" |
|
429 | 437 | </Grid> |
430 | 438 | </Border> |
431 | 439 | </Popup> |
432 | | - </StackPanel> |
| 440 | + </Grid> |
433 | 441 |
|
434 | 442 | </StackPanel> |
435 | 443 |
|
|
0 commit comments