Skip to content

Commit 6c80e74

Browse files
committed
Fix websearch plugin issue & Improve sys plugin settings panel
1 parent 1baf175 commit 6c80e74

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
d:DesignHeight="300"
1010
d:DesignWidth="300"
1111
mc:Ignorable="d">
12-
12+
1313
<Grid Margin="{StaticResource SettingPanelMargin}">
1414
<Grid.RowDefinitions>
1515
<RowDefinition />
1616
<RowDefinition Height="Auto" />
1717
</Grid.RowDefinitions>
18-
18+
1919
<ListView
2020
x:Name="lbxCommands"
2121
Grid.Row="0"
@@ -58,11 +58,12 @@
5858

5959
<StackPanel
6060
Grid.Row="1"
61+
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
6162
HorizontalAlignment="Right"
6263
Orientation="Horizontal">
6364
<Button
6465
Width="100"
65-
Margin="10"
66+
Margin="{StaticResource SettingPanelItemLeftMargin}"
6667
Click="OnEditCommandKeywordClick"
6768
Content="{DynamicResource flowlauncher_plugin_sys_edit}" />
6869
</StackPanel>

Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
d:DesignHeight="300"
1010
d:DesignWidth="500"
1111
mc:Ignorable="d">
12+
1213
<UserControl.Resources>
1314
<Style x:Key="BrowserPathBoxStyle" TargetType="TextBox">
1415
<Setter Property="Height" Value="28" />
@@ -35,13 +36,15 @@
3536
</DockPanel>
3637
</DataTemplate>
3738
</UserControl.Resources>
39+
3840
<Grid Margin="{StaticResource SettingPanelMargin}">
3941
<Grid.RowDefinitions>
4042
<RowDefinition />
41-
<RowDefinition Height="56" />
43+
<RowDefinition Height="Auto" />
4244
<RowDefinition />
43-
<RowDefinition Height="50" />
45+
<RowDefinition Height="Auto" />
4446
</Grid.RowDefinitions>
47+
4548
<ListView
4649
x:Name="SearchSourcesListView"
4750
Grid.Row="0"
@@ -96,6 +99,7 @@
9699
</GridView>
97100
</ListView.View>
98101
</ListView>
102+
99103
<StackPanel
100104
Grid.Row="1"
101105
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
@@ -117,7 +121,9 @@
117121
Click="OnAddSearchSearchClick"
118122
Content="{DynamicResource flowlauncher_plugin_websearch_add}" />
119123
</StackPanel>
124+
120125
<Separator Grid.Row="2" Style="{StaticResource SettingPanelSeperatorStyle}" />
126+
121127
<DockPanel
122128
Grid.Row="3"
123129
Margin="{StaticResource SettingPanelItemTopBottomMargin}"

0 commit comments

Comments
 (0)