|
559 | 559 | <TextBlock Classes="tab_header" Text="{DynamicResource Text.Configure.CustomAction}"/>
|
560 | 560 | </TabItem.Header>
|
561 | 561 |
|
562 |
| - <Grid MinHeight="380" Margin="0,8,0,16"> |
| 562 | + <Grid MinHeight="360" Margin="0,8,0,16"> |
563 | 563 | <Grid.ColumnDefinitions>
|
564 | 564 | <ColumnDefinition Width="200"/>
|
565 |
| - <ColumnDefinition Width="*" MaxWidth="400"/> |
| 565 | + <ColumnDefinition Width="*"/> |
566 | 566 | </Grid.ColumnDefinitions>
|
567 | 567 |
|
568 | 568 | <Border Grid.Column="0"
|
|
659 | 659 | <ComboBoxItem Content="{DynamicResource Text.Configure.CustomAction.Scope.Remote}"/>
|
660 | 660 | </ComboBox>
|
661 | 661 |
|
662 |
| - <TextBlock Margin="0,12,0,0" Text="{DynamicResource Text.Configure.CustomAction.Executable}"/> |
663 |
| - <TextBox Margin="0,4,0,0" Height="28" CornerRadius="3" Text="{Binding Executable, Mode=TwoWay}"> |
664 |
| - <TextBox.InnerRightContent> |
665 |
| - <Button Classes="icon_button" Width="30" Height="30" Click="SelectExecutableForCustomAction"> |
666 |
| - <Path Data="{StaticResource Icons.Folder.Open}" Fill="{DynamicResource Brush.FG1}"/> |
667 |
| - </Button> |
668 |
| - </TextBox.InnerRightContent> |
669 |
| - </TextBox> |
670 |
| - |
671 |
| - <TextBlock Margin="0,12,0,0" Text="{DynamicResource Text.Configure.CustomAction.Arguments}"/> |
672 |
| - <TextBox Margin="0,4,0,0" CornerRadius="3" Height="28" Text="{Binding Arguments, Mode=TwoWay}"/> |
673 |
| - <TextBlock Margin="0,2,0,0" TextWrapping="Wrap" Text="{DynamicResource Text.Configure.CustomAction.Arguments.Tip}" Foreground="{DynamicResource Brush.FG2}"/> |
674 |
| - |
675 | 662 | <TextBlock Margin="0,12,0,0" Text="{DynamicResource Text.Configure.CustomAction.InputControls}"/>
|
676 | 663 | <Button Margin="0,4,0,0" Classes="flat" Height="28" Click="EditCustomActionControls">
|
677 | 664 | <StackPanel Orientation="Horizontal">
|
|
682 | 669 | </Border>
|
683 | 670 | </StackPanel>
|
684 | 671 | </Button>
|
685 |
| - <TextBlock Margin="0,2,0,0" TextWrapping="Wrap" Text="{DynamicResource Text.Configure.CustomAction.InputControls.Tip}" Foreground="{DynamicResource Brush.FG2}"/> |
| 672 | + |
| 673 | + <TextBlock Margin="0,12,0,0" Text="{DynamicResource Text.Configure.CustomAction.Executable}"/> |
| 674 | + <TextBox Margin="0,4,0,0" Height="28" CornerRadius="3" Text="{Binding Executable, Mode=TwoWay}"> |
| 675 | + <TextBox.InnerRightContent> |
| 676 | + <Button Classes="icon_button" Width="30" Height="30" Click="SelectExecutableForCustomAction"> |
| 677 | + <Path Data="{StaticResource Icons.Folder.Open}" Fill="{DynamicResource Brush.FG1}"/> |
| 678 | + </Button> |
| 679 | + </TextBox.InnerRightContent> |
| 680 | + </TextBox> |
| 681 | + |
| 682 | + <TextBlock Margin="0,12,0,0" Text="{DynamicResource Text.Configure.CustomAction.Arguments}"/> |
| 683 | + <Grid Margin="0,4,0,0" ColumnDefinitions="*,Auto"> |
| 684 | + <TextBox Grid.Column="0" CornerRadius="3" Height="28" Text="{Binding Arguments, Mode=TwoWay}"/> |
| 685 | + <Border Grid.Column="1" Width="22" Height="28" Background="Transparent" VerticalAlignment="Center" ToolTip.Tip="{DynamicResource Text.Configure.CustomAction.Arguments.Tip}"> |
| 686 | + <Path Width="14" Height="14" Data="{StaticResource Icons.Info}"/> |
| 687 | + </Border> |
| 688 | + </Grid> |
686 | 689 |
|
687 | 690 | <CheckBox Margin="0,8,0,0" Content="{DynamicResource Text.Configure.CustomAction.WaitForExit}" IsChecked="{Binding WaitForExit, Mode=TwoWay}"/>
|
688 | 691 | </StackPanel>
|
|
0 commit comments