Skip to content

Commit f4b933a

Browse files
Fix UI layout
1 parent 88d6b0a commit f4b933a

File tree

1 file changed

+28
-81
lines changed

1 file changed

+28
-81
lines changed

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

Lines changed: 28 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
mc:Ignorable="d">
1111
<Grid Margin="0">
1212
<Grid.RowDefinitions>
13-
<RowDefinition Height="170" />
13+
<RowDefinition Height="225" />
1414
<RowDefinition Height="*" />
1515
<RowDefinition Height="60" />
1616
</Grid.RowDefinitions>
@@ -19,9 +19,30 @@
1919
HorizontalAlignment="Stretch"
2020
Orientation="Vertical">
2121
<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" />
41+
2242
<StackPanel Width="Auto" Orientation="Horizontal">
2343
<CheckBox
2444
Name="StartMenuEnabled"
45+
Width="220"
2546
Margin="70,8,10,8"
2647
Content="{DynamicResource flowlauncher_plugin_program_index_start}"
2748
IsChecked="{Binding EnableStartMenuSource}"
@@ -32,31 +53,20 @@
3253
Content="{DynamicResource flowlauncher_plugin_program_index_registry}"
3354
IsChecked="{Binding EnableRegistrySource}"
3455
ToolTip="{DynamicResource flowlauncher_plugin_program_index_registry_tooltip}" />
35-
<CheckBox
36-
Name="PATHEnabled"
37-
Margin="70,8,10,8"
38-
Content="{DynamicResource flowlauncher_plugin_program_index_PATH}"
39-
IsChecked="{Binding EnablePATHSource}"
40-
ToolTip="{DynamicResource flowlauncher_plugin_program_index_PATH_tooltip}" />
4156
</StackPanel>
42-
4357
<Separator
4458
Height="1"
4559
BorderBrush="{DynamicResource Color03B}"
4660
BorderThickness="1" />
61+
4762
<StackPanel Width="Auto" Orientation="Horizontal">
4863
<CheckBox
49-
Name="HideLnkEnabled"
50-
Margin="70,8,10,8"
51-
Content="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath}"
52-
IsChecked="{Binding HideAppsPath}"
53-
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath_tooltip}" />
54-
<CheckBox
55-
Name="DescriptionEnabled"
64+
Name="PATHEnabled"
65+
Width="220"
5666
Margin="70,8,10,8"
57-
Content="{DynamicResource flowlauncher_plugin_program_enable_description}"
58-
IsChecked="{Binding EnableDescription}"
59-
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_description_tooltip}" />
67+
Content="{DynamicResource flowlauncher_plugin_program_index_PATH}"
68+
IsChecked="{Binding EnablePATHSource}"
69+
ToolTip="{DynamicResource flowlauncher_plugin_program_index_PATH_tooltip}" />
6070
</StackPanel>
6171
<Separator
6272
Height="1"
@@ -177,66 +187,3 @@
177187
</DockPanel>
178188
</Grid>
179189
</UserControl>
180-
181-
182-
183-
184-
185-
186-
187-
188-
189-
190-
191-
192-
193-
194-
195-
196-
197-
198-
199-
200-
201-
202-
203-
204-
205-
206-
207-
208-
209-
210-
211-
212-
213-
214-
215-
216-
217-
218-
219-
220-
221-
222-
223-
224-
225-
226-
227-
228-
229-
230-
231-
232-
233-
234-
235-
236-
237-
238-
239-
240-
241-
242-

0 commit comments

Comments
 (0)