|
501 | 501 | Height="32" |
502 | 502 | Margin="0,0,16,0" |
503 | 503 | IsVisible="{OnPlatform True, macOS=False}"> |
504 | | - <TextBlock Grid.Row="1" Grid.Column="0" |
505 | | - Text="{DynamicResource Text.Preferences.Shell.Path}" |
| 504 | + <TextBlock Text="{DynamicResource Text.Preferences.Shell.Path}" |
506 | 505 | HorizontalAlignment="Right" /> |
507 | 506 | </Border> |
508 | 507 | <TextBox Grid.Row="1" Grid.Column="1" |
|
521 | 520 | Height="32" |
522 | 521 | Margin="0,0,16,0" |
523 | 522 | IsVisible="{OnPlatform True, macOS=False}"> |
524 | | - <TextBlock Grid.Row="1" Grid.Column="0" |
525 | | - Text="{DynamicResource Text.Preferences.Shell.Args}" |
| 523 | + <TextBlock Text="{DynamicResource Text.Preferences.Shell.Args}" |
526 | 524 | HorizontalAlignment="Right" /> |
527 | 525 | </Border> |
528 | 526 | <TextBox Grid.Row="2" Grid.Column="1" |
|
537 | 535 | <TextBlock Classes="bold" Margin="4,0,0,0" Text="{DynamicResource Text.Preferences.DiffMerge}"/> |
538 | 536 | </StackPanel> |
539 | 537 | <Rectangle Margin="0,8" Fill="{DynamicResource Brush.Border2}" Height=".6" HorizontalAlignment="Stretch"/> |
540 | | - <Grid Margin="8,0,0,8" RowDefinitions="32,Auto,32,32"> |
| 538 | + <Grid Margin="8,0,0,8" RowDefinitions="32,Auto,Auto,Auto"> |
541 | 539 | <Grid.ColumnDefinitions> |
542 | 540 | <ColumnDefinition Width="Auto" SharedSizeGroup="IntegrationLabel"/> |
543 | 541 | <ColumnDefinition Width="*"/> |
|
570 | 568 | Height="32" |
571 | 569 | Margin="0,0,16,0" |
572 | 570 | IsVisible="{Binding ExternalMergeToolType, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"> |
573 | | - <TextBlock Grid.Row="1" Grid.Column="0" |
574 | | - Text="{DynamicResource Text.Preferences.DiffMerge.Path}" |
| 571 | + <TextBlock Text="{DynamicResource Text.Preferences.DiffMerge.Path}" |
575 | 572 | HorizontalAlignment="Right" /> |
576 | 573 | </Border> |
577 | 574 | <TextBox Grid.Row="1" Grid.Column="1" |
|
587 | 584 | </TextBox.InnerRightContent> |
588 | 585 | </TextBox> |
589 | 586 |
|
590 | | - <TextBlock Grid.Row="2" Grid.Column="0" |
591 | | - Text="{DynamicResource Text.Preferences.DiffMerge.DiffArgs}" |
592 | | - HorizontalAlignment="Right" |
593 | | - Margin="0,0,16,0"/> |
| 587 | + <Border Grid.Row="2" Grid.Column="0" |
| 588 | + Height="32" |
| 589 | + Margin="0,0,16,0" |
| 590 | + IsVisible="{Binding ExternalMergeToolType, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"> |
| 591 | + <TextBlock Text="{DynamicResource Text.Preferences.DiffMerge.DiffArgs}" |
| 592 | + HorizontalAlignment="Right" /> |
| 593 | + </Border> |
594 | 594 | <TextBox Grid.Row="2" Grid.Column="1" |
595 | 595 | Height="28" |
596 | 596 | CornerRadius="3" |
597 | | - Text="{Binding ExternalMergeToolDiffArgs, Mode=TwoWay}"/> |
| 597 | + Text="{Binding ExternalMergeToolDiffArgs, Mode=TwoWay}" |
| 598 | + IsVisible="{Binding ExternalMergeToolType, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"/> |
598 | 599 |
|
599 | | - <TextBlock Grid.Row="3" Grid.Column="0" |
600 | | - Text="{DynamicResource Text.Preferences.DiffMerge.MergeArgs}" |
601 | | - HorizontalAlignment="Right" |
602 | | - Margin="0,0,16,0"/> |
| 600 | + <Border Grid.Row="3" Grid.Column="0" |
| 601 | + Height="32" |
| 602 | + Margin="0,0,16,0" |
| 603 | + IsVisible="{Binding ExternalMergeToolType, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"> |
| 604 | + <TextBlock Text="{DynamicResource Text.Preferences.DiffMerge.MergeArgs}" |
| 605 | + HorizontalAlignment="Right" /> |
| 606 | + </Border> |
603 | 607 | <TextBox Grid.Row="3" Grid.Column="1" |
604 | 608 | Height="28" |
605 | 609 | CornerRadius="3" |
606 | | - Text="{Binding ExternalMergeToolMergeArgs, Mode=TwoWay}"/> |
| 610 | + Text="{Binding ExternalMergeToolMergeArgs, Mode=TwoWay}" |
| 611 | + IsVisible="{Binding ExternalMergeToolType, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"/> |
607 | 612 | </Grid> |
608 | 613 | </StackPanel> |
609 | 614 | </TabItem> |
|
0 commit comments