Skip to content

Commit 405a33c

Browse files
committed
Fix Shell Plugin Checkbox
1 parent d08f47f commit 405a33c

File tree

1 file changed

+49
-20
lines changed

1 file changed

+49
-20
lines changed
Lines changed: 49 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,57 @@
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">
1012
<Grid.RowDefinitions>
11-
<RowDefinition/>
12-
<RowDefinition/>
13-
<RowDefinition/>
14-
<RowDefinition/>
15-
<RowDefinition/>
13+
<RowDefinition />
14+
<RowDefinition />
15+
<RowDefinition />
16+
<RowDefinition />
17+
<RowDefinition />
1618
</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">
2142
<ComboBoxItem>CMD</ComboBoxItem>
2243
<ComboBoxItem>PowerShell</ComboBoxItem>
2344
<ComboBoxItem>RunCommand</ComboBoxItem>
2445
</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>
2756
</Grid>
2857
</UserControl>

0 commit comments

Comments
 (0)