|
1 |
| -<UserControl x:Class="Flow.Launcher.Plugin.Shell.CMDSetting" |
2 |
| - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
| - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 |
| - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 |
| - mc:Ignorable="d" |
7 |
| - Loaded="CMDSetting_OnLoaded" |
8 |
| - d:DesignHeight="300" d:DesignWidth="300"> |
9 |
| - <Grid Margin="7,10" VerticalAlignment="Top" > |
| 1 | +<UserControl |
| 2 | + x:Class="Flow.Launcher.Plugin.Shell.CMDSetting" |
| 3 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 5 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 6 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 7 | + d:DesignHeight="300" |
| 8 | + d:DesignWidth="300" |
| 9 | + Loaded="CMDSetting_OnLoaded" |
| 10 | + mc:Ignorable="d"> |
| 11 | + <Grid Margin="7,10" VerticalAlignment="Top"> |
10 | 12 | <Grid.RowDefinitions>
|
11 |
| - <RowDefinition/> |
12 |
| - <RowDefinition/> |
13 |
| - <RowDefinition/> |
14 |
| - <RowDefinition/> |
15 |
| - <RowDefinition/> |
| 13 | + <RowDefinition /> |
| 14 | + <RowDefinition /> |
| 15 | + <RowDefinition /> |
| 16 | + <RowDefinition /> |
| 17 | + <RowDefinition /> |
16 | 18 | </Grid.RowDefinitions>
|
17 |
| - <CheckBox Grid.Row="0" x:Name="ReplaceWinR" Content="{DynamicResource flowlauncher_plugin_cmd_relace_winr}" Margin="10" HorizontalAlignment="Left"/> |
18 |
| - <CheckBox Grid.Row="1" x:Name="LeaveShellOpen" Content="{DynamicResource flowlauncher_plugin_cmd_leave_cmd_open}" Margin="10" HorizontalAlignment="Left"/> |
19 |
| - <CheckBox Grid.Row="2" x:Name="AlwaysRunAsAdministrator" Content="{DynamicResource flowlauncher_plugin_cmd_always_run_as_administrator}" Margin="10" HorizontalAlignment="Left"/> |
20 |
| - <ComboBox Grid.Row="3" x:Name="ShellComboBox" Margin="10" HorizontalAlignment="Left" > |
| 19 | + <CheckBox |
| 20 | + x:Name="ReplaceWinR" |
| 21 | + Grid.Row="0" |
| 22 | + Margin="10" |
| 23 | + HorizontalAlignment="Left" |
| 24 | + Content="{DynamicResource flowlauncher_plugin_cmd_relace_winr}" /> |
| 25 | + <CheckBox |
| 26 | + x:Name="LeaveShellOpen" |
| 27 | + Grid.Row="1" |
| 28 | + Margin="10" |
| 29 | + HorizontalAlignment="Left" |
| 30 | + Content="{DynamicResource flowlauncher_plugin_cmd_leave_cmd_open}" /> |
| 31 | + <CheckBox |
| 32 | + x:Name="AlwaysRunAsAdministrator" |
| 33 | + Grid.Row="2" |
| 34 | + Margin="10" |
| 35 | + HorizontalAlignment="Left" |
| 36 | + Content="{DynamicResource flowlauncher_plugin_cmd_always_run_as_administrator}" /> |
| 37 | + <ComboBox |
| 38 | + x:Name="ShellComboBox" |
| 39 | + Grid.Row="3" |
| 40 | + Margin="10" |
| 41 | + HorizontalAlignment="Left"> |
21 | 42 | <ComboBoxItem>CMD</ComboBoxItem>
|
22 | 43 | <ComboBoxItem>PowerShell</ComboBoxItem>
|
23 | 44 | <ComboBoxItem>RunCommand</ComboBoxItem>
|
24 | 45 | </ComboBox>
|
25 |
| - <CheckBox Grid.Row ="4" x:Name="ShowOnlyMostUsedCMDs" Content="{DynamicResource flowlauncher_plugin_cmd_history}" Margin="10 10 0 0"/> |
26 |
| - <ComboBox Grid.Row="4" x:Name="ShowOnlyMostUsedCMDsNumber" Margin="330 20 10 10" HorizontalAlignment="Left" /> |
| 46 | + <StackPanel Grid.Row="4" Orientation="Horizontal"> |
| 47 | + <CheckBox |
| 48 | + x:Name="ShowOnlyMostUsedCMDs" |
| 49 | + Margin="10,10,0,0" |
| 50 | + Content="{DynamicResource flowlauncher_plugin_cmd_history}" /> |
| 51 | + <ComboBox |
| 52 | + x:Name="ShowOnlyMostUsedCMDsNumber" |
| 53 | + Margin="10,10,0,0" |
| 54 | + HorizontalAlignment="Left" /> |
| 55 | + </StackPanel> |
27 | 56 | </Grid>
|
28 | 57 | </UserControl>
|
0 commit comments