Skip to content

Commit 7f322fe

Browse files
committed
Adjust Checkboxes layout
1 parent f4b933a commit 7f322fe

File tree

1 file changed

+38
-54
lines changed

1 file changed

+38
-54
lines changed

Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml

Lines changed: 38 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -10,69 +10,53 @@
1010
mc:Ignorable="d">
1111
<Grid Margin="0">
1212
<Grid.RowDefinitions>
13-
<RowDefinition Height="225" />
13+
<RowDefinition Height="Auto" />
1414
<RowDefinition Height="*" />
1515
<RowDefinition Height="60" />
1616
</Grid.RowDefinitions>
1717
<StackPanel
1818
Grid.Row="0"
1919
HorizontalAlignment="Stretch"
2020
Orientation="Vertical">
21-
<StackPanel Width="Auto" Orientation="Vertical">
22-
<StackPanel Width="Auto" Orientation="Horizontal">
23-
<CheckBox
24-
Name="HideLnkEnabled"
25-
Width="220"
26-
Margin="70,8,10,8"
27-
Content="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath}"
28-
IsChecked="{Binding HideAppsPath}"
29-
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath_tooltip}" />
30-
<CheckBox
31-
Name="DescriptionEnabled"
32-
Margin="70,8,10,8"
33-
Content="{DynamicResource flowlauncher_plugin_program_enable_description}"
34-
IsChecked="{Binding EnableDescription}"
35-
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_description_tooltip}" />
36-
</StackPanel>
37-
<Separator
38-
Height="1"
39-
BorderBrush="{DynamicResource Color03B}"
40-
BorderThickness="1" />
21+
<WrapPanel Width="Auto" Margin="70,8,10,0">
22+
<CheckBox
23+
Name="HideLnkEnabled"
24+
Margin="0,0,30,8"
25+
Content="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath}"
26+
IsChecked="{Binding HideAppsPath}"
27+
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath_tooltip}" />
28+
<CheckBox
29+
Name="DescriptionEnabled"
30+
Margin="0,0,30,8"
31+
Content="{DynamicResource flowlauncher_plugin_program_enable_description}"
32+
IsChecked="{Binding EnableDescription}"
33+
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_description_tooltip}" />
4134

42-
<StackPanel Width="Auto" Orientation="Horizontal">
43-
<CheckBox
44-
Name="StartMenuEnabled"
45-
Width="220"
46-
Margin="70,8,10,8"
47-
Content="{DynamicResource flowlauncher_plugin_program_index_start}"
48-
IsChecked="{Binding EnableStartMenuSource}"
49-
ToolTip="{DynamicResource flowlauncher_plugin_program_index_start_tooltip}" />
50-
<CheckBox
51-
Name="RegistryEnabled"
52-
Margin="70,8,10,8"
53-
Content="{DynamicResource flowlauncher_plugin_program_index_registry}"
54-
IsChecked="{Binding EnableRegistrySource}"
55-
ToolTip="{DynamicResource flowlauncher_plugin_program_index_registry_tooltip}" />
56-
</StackPanel>
57-
<Separator
58-
Height="1"
59-
BorderBrush="{DynamicResource Color03B}"
60-
BorderThickness="1" />
35+
<CheckBox
36+
Name="StartMenuEnabled"
37+
Margin="0,0,30,8"
38+
Content="{DynamicResource flowlauncher_plugin_program_index_start}"
39+
IsChecked="{Binding EnableStartMenuSource}"
40+
ToolTip="{DynamicResource flowlauncher_plugin_program_index_start_tooltip}" />
41+
<CheckBox
42+
Name="RegistryEnabled"
43+
Margin="0,0,30,8"
44+
Content="{DynamicResource flowlauncher_plugin_program_index_registry}"
45+
IsChecked="{Binding EnableRegistrySource}"
46+
ToolTip="{DynamicResource flowlauncher_plugin_program_index_registry_tooltip}" />
6147

62-
<StackPanel Width="Auto" Orientation="Horizontal">
63-
<CheckBox
64-
Name="PATHEnabled"
65-
Width="220"
66-
Margin="70,8,10,8"
67-
Content="{DynamicResource flowlauncher_plugin_program_index_PATH}"
68-
IsChecked="{Binding EnablePATHSource}"
69-
ToolTip="{DynamicResource flowlauncher_plugin_program_index_PATH_tooltip}" />
70-
</StackPanel>
71-
<Separator
72-
Height="1"
73-
BorderBrush="{DynamicResource Color03B}"
74-
BorderThickness="1" />
75-
</StackPanel>
48+
<CheckBox
49+
Name="PATHEnabled"
50+
Margin="0,0,30,8"
51+
Content="{DynamicResource flowlauncher_plugin_program_index_PATH}"
52+
IsChecked="{Binding EnablePATHSource}"
53+
ToolTip="{DynamicResource flowlauncher_plugin_program_index_PATH_tooltip}" />
54+
55+
</WrapPanel>
56+
<Separator
57+
Height="1"
58+
BorderBrush="{DynamicResource Color03B}"
59+
BorderThickness="1" />
7660
<StackPanel
7761
Width="Auto"
7862
Margin="10,6,0,0"

0 commit comments

Comments
 (0)