Skip to content

Commit 113f154

Browse files
committed
Adjust SettingPanel Layout
1 parent 8343bc7 commit 113f154

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,71 +5,71 @@
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
77
xmlns:program="clr-namespace:Flow.Launcher.Plugin.Program"
8-
Height="450"
9-
d:DesignHeight="404.508"
10-
d:DesignWidth="600"
8+
Height="550"
119
DataContext="{Binding RelativeSource={RelativeSource Self}}"
1210
mc:Ignorable="d">
13-
<Grid Margin="20">
11+
<Grid Margin="0">
1412
<Grid.RowDefinitions>
15-
<RowDefinition Height="165" />
13+
<RowDefinition Height="240" />
1614
<RowDefinition Height="*" />
17-
<RowDefinition Height="50" />
15+
<RowDefinition Height="60" />
1816
</Grid.RowDefinitions>
1917
<StackPanel
2018
Grid.Row="0"
2119
HorizontalAlignment="Stretch"
22-
Orientation="Horizontal">
20+
Orientation="Vertical">
2321
<StackPanel Width="Auto" Orientation="Vertical">
2422
<CheckBox
2523
Name="StartMenuEnabled"
26-
Margin="5"
24+
Margin="70,10,10,10"
2725
Content="{DynamicResource flowlauncher_plugin_program_index_start}"
2826
IsChecked="{Binding EnableStartMenuSource}"
2927
ToolTip="{DynamicResource flowlauncher_plugin_program_index_start_tooltip}" />
28+
<Separator />
3029
<CheckBox
3130
Name="RegistryEnabled"
32-
Margin="5"
31+
Margin="70,10,10,10"
3332
Content="{DynamicResource flowlauncher_plugin_program_index_registry}"
3433
IsChecked="{Binding EnableRegistrySource}"
3534
ToolTip="{DynamicResource flowlauncher_plugin_program_index_registry_tooltip}" />
35+
<Separator />
3636
<CheckBox
3737
Name="HideLnkEnabled"
38-
Margin="5"
38+
Margin="70,10,10,10"
3939
Content="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath}"
4040
IsChecked="{Binding EnableHideLnkPath}"
4141
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath_tooltip}" />
42+
<Separator />
4243
<CheckBox
4344
Name="DescriptionEnabled"
44-
Margin="5"
45+
Margin="70,10,10,10"
4546
Content="{DynamicResource flowlauncher_plugin_program_enable_description}"
4647
IsChecked="{Binding EnableDescription}"
4748
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_description_tooltip}" />
49+
<Separator />
4850
</StackPanel>
4951
<StackPanel
5052
Width="Auto"
51-
HorizontalAlignment="Right"
53+
Margin="20,6,0,6"
54+
HorizontalAlignment="Left"
5255
Orientation="Horizontal">
5356
<Button
5457
x:Name="btnLoadAllProgramSource"
5558
Width="100"
56-
Height="31"
5759
Margin="10"
5860
HorizontalAlignment="Right"
5961
Click="btnLoadAllProgramSource_OnClick"
6062
Content="{DynamicResource flowlauncher_plugin_program_all_programs}" />
6163
<Button
6264
x:Name="btnProgramSuffixes"
6365
Width="100"
64-
Height="31"
6566
Margin="10"
6667
HorizontalAlignment="Right"
6768
Click="BtnProgramSuffixes_OnClick"
6869
Content="{DynamicResource flowlauncher_plugin_program_suffixes}" />
6970
<Button
7071
x:Name="btnReindex"
7172
Width="100"
72-
Height="31"
7373
Margin="10"
7474
HorizontalAlignment="Right"
7575
Click="btnReindex_Click"
@@ -79,7 +79,7 @@
7979
<ListView
8080
x:Name="programSourceView"
8181
Grid.Row="1"
82-
Margin="0,13,0,10"
82+
Margin="20,10,20,0"
8383
AllowDrop="True"
8484
BorderBrush="DarkGray"
8585
BorderThickness="1"
@@ -127,7 +127,7 @@
127127
<DockPanel
128128
Grid.Row="2"
129129
Grid.RowSpan="1"
130-
Margin="0,0,0,0">
130+
Margin="0,0,20,10">
131131
<StackPanel
132132
x:Name="indexingPanel"
133133
HorizontalAlignment="Left"

0 commit comments

Comments
 (0)