Skip to content

Commit 979efd3

Browse files
committed
Improve WebSearch SettingsControl
1 parent 9f08c4f commit 979efd3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@
6969
</GridViewColumn>
7070

7171
<!-- Margin="0 6" is a workaround to set this TextBlock to vertially center -->
72-
<GridViewColumn Width="112" Header="{DynamicResource flowlauncher_plugin_websearch_action_keyword}">
72+
<GridViewColumn Width="135" Header="{DynamicResource flowlauncher_plugin_websearch_action_keyword}">
7373
<GridViewColumn.CellTemplate>
7474
<DataTemplate>
7575
<TextBlock Margin="0 6" Text="{Binding ActionKeyword}" />
7676
</DataTemplate>
7777
</GridViewColumn.CellTemplate>
7878
</GridViewColumn>
79-
<GridViewColumn Width="168" Header="{DynamicResource flowlauncher_plugin_websearch_title}">
79+
<GridViewColumn Width="145" Header="{DynamicResource flowlauncher_plugin_websearch_title}">
8080
<GridViewColumn.CellTemplate>
8181
<DataTemplate>
8282
<TextBlock Margin="0 6" Text="{Binding Title}" />
@@ -101,6 +101,8 @@
101101
</DataTemplate>
102102
</GridViewColumn.CellTemplate>
103103
</GridViewColumn>
104+
105+
<!-- CheckBox is vertially center by default -->
104106
<GridViewColumn Width="123" Header="{DynamicResource flowlauncher_plugin_websearch_private_mode_label}">
105107
<GridViewColumn.CellTemplate>
106108
<DataTemplate>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ private void ListView_SizeChanged(object sender, SizeChangedEventArgs e)
152152
if (workingWidth <= 0) return;
153153

154154
var col1 = 0.08;
155-
var col2 = 0.20;
156-
var col3 = 0.30;
155+
var col2 = 0.24;
156+
var col3 = 0.26;
157157
var col4 = 0.20;
158158
var col5 = 0.22;
159159

0 commit comments

Comments
 (0)