|
365 | 365 | <!-- End PrimaryActionButton --> |
366 | 366 |
|
367 | 367 | <Style x:Key="CommitListItemContainerStyle" TargetType="{x:Type ListViewItem}"> |
368 | | - <Setter Property="SnapsToDevicePixels" Value="True" /> |
369 | | - <Setter Property="Margin" Value="5" /> |
370 | | - <Setter Property="Padding" Value="1" /> |
371 | | - |
372 | | - <Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
373 | | - <Setter Property="VerticalContentAlignment" Value="Center" /> |
374 | | - |
375 | | - <Setter Property="Background" Value="Transparent" /> |
376 | | - <Setter Property="BorderBrush" Value="Transparent" /> |
377 | | - <Setter Property="BorderThickness" Value="0" /> |
378 | | - |
379 | | - <Setter Property="Template"> |
380 | | - <Setter.Value> |
381 | | - <ControlTemplate TargetType="{x:Type ListViewItem}"> |
382 | | - <Border x:Name="Bd" |
| 368 | + <Setter Property="SnapsToDevicePixels" Value="True" /> |
| 369 | + <Setter Property="Margin" Value="5" /> |
| 370 | + <Setter Property="Padding" Value="1" /> |
| 371 | + |
| 372 | + <Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
| 373 | + <Setter Property="VerticalContentAlignment" Value="Center" /> |
| 374 | + |
| 375 | + <Setter Property="Background" Value="Transparent" /> |
| 376 | + <Setter Property="BorderBrush" Value="Transparent" /> |
| 377 | + <Setter Property="BorderThickness" Value="0" /> |
| 378 | + |
| 379 | + <Setter Property="Template"> |
| 380 | + <Setter.Value> |
| 381 | + <ControlTemplate TargetType="{x:Type ListViewItem}"> |
| 382 | + <Border x:Name="Bd" |
383 | 383 | Background="{TemplateBinding Background}" |
384 | 384 | BorderThickness="{TemplateBinding BorderThickness}" |
385 | 385 | Padding="{TemplateBinding Padding}"> |
386 | | - <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
387 | | - </Border> |
388 | | - </ControlTemplate> |
389 | | - </Setter.Value> |
390 | | - </Setter> |
| 386 | + <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
| 387 | + </Border> |
| 388 | + </ControlTemplate> |
| 389 | + </Setter.Value> |
| 390 | + </Setter> |
391 | 391 | </Style> |
392 | 392 | </ResourceDictionary> |
393 | 393 | </UserControl.Resources> |
|
439 | 439 | <Grid |
440 | 440 | Style="{DynamicResource GitHubComboBoxContainer}" |
441 | 441 | Width="200" > |
442 | | - |
| 442 | + |
443 | 443 | <Grid.RowDefinitions> |
444 | 444 | <RowDefinition Height="*" /> |
445 | 445 | <RowDefinition Height="*" /> |
|
481 | 481 | </Border> |
482 | 482 | </Popup> |
483 | 483 | </Grid> |
484 | | - |
485 | 484 | </StackPanel> |
486 | 485 |
|
487 | 486 | <TabControl Grid.Row="1" Style="{DynamicResource GitHubPRDetailsTabControl}" BorderThickness="0,1,0,0"> |
|
517 | 516 | <Grid Style="{DynamicResource GitHubComboBoxContainer}" |
518 | 517 | MinWidth="150" |
519 | 518 | MaxWidth="300"> |
520 | | - |
| 519 | + |
521 | 520 | <Grid.RowDefinitions> |
522 | 521 | <RowDefinition Height="*" /> |
523 | 522 | <RowDefinition Height="*" /> |
|
0 commit comments