Skip to content

Commit a04829b

Browse files
committed
Add setting ui back
1 parent 475db2b commit a04829b

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@
207207
<RowDefinition Height="Auto" />
208208
<RowDefinition Height="Auto" />
209209
<RowDefinition Height="Auto" />
210+
<RowDefinition Height="Auto" />
210211
</Grid.RowDefinitions>
211212
<Grid.ColumnDefinitions>
212213
<ColumnDefinition Width="Auto" />
@@ -230,16 +231,25 @@
230231
Content="{DynamicResource plugin_explorer_default_open_in_file_manager}"
231232
IsChecked="{Binding Settings.DefaultOpenFolderInFileManager}" />
232233

233-
<TextBlock
234+
<CheckBox
234235
Grid.Row="2"
235236
Grid.Column="0"
237+
Grid.ColumnSpan="2"
238+
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
239+
HorizontalAlignment="Left"
240+
Content="{DynamicResource plugin_explorer_display_more_info_in_tooltip}"
241+
IsChecked="{Binding Settings.DisplayMoreInformationInToolTip}" />
242+
243+
<TextBlock
244+
Grid.Row="3"
245+
Grid.Column="0"
236246
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
237247
HorizontalAlignment="Left"
238248
VerticalAlignment="Center"
239249
Foreground="{DynamicResource Color05B}"
240250
Text="{DynamicResource plugin_explorer_file_editor_path}" />
241251
<StackPanel
242-
Grid.Row="2"
252+
Grid.Row="3"
243253
Grid.Column="1"
244254
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
245255
Orientation="Horizontal">
@@ -258,15 +268,15 @@
258268
</StackPanel>
259269

260270
<TextBlock
261-
Grid.Row="3"
271+
Grid.Row="4"
262272
Grid.Column="0"
263273
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
264274
HorizontalAlignment="Left"
265275
VerticalAlignment="Center"
266276
Foreground="{DynamicResource Color05B}"
267277
Text="{DynamicResource plugin_explorer_folder_editor_path}" />
268278
<StackPanel
269-
Grid.Row="3"
279+
Grid.Row="4"
270280
Grid.Column="1"
271281
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
272282
Orientation="Horizontal">
@@ -285,15 +295,15 @@
285295
</StackPanel>
286296

287297
<TextBlock
288-
Grid.Row="4"
298+
Grid.Row="5"
289299
Grid.Column="0"
290300
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
291301
HorizontalAlignment="Left"
292302
VerticalAlignment="Center"
293303
Foreground="{DynamicResource Color05B}"
294304
Text="{DynamicResource plugin_explorer_shell_path}" />
295305
<StackPanel
296-
Grid.Row="4"
306+
Grid.Row="5"
297307
Grid.Column="1"
298308
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
299309
Orientation="Horizontal">
@@ -312,14 +322,14 @@
312322
</StackPanel>
313323

314324
<TextBlock
315-
Grid.Row="5"
325+
Grid.Row="6"
316326
Grid.Column="0"
317327
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
318328
VerticalAlignment="Center"
319329
Foreground="{DynamicResource Color05B}"
320330
Text="{DynamicResource plugin_explorer_Index_Search_Engine}" />
321331
<ComboBox
322-
Grid.Row="5"
332+
Grid.Row="6"
323333
Grid.Column="1"
324334
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
325335
HorizontalAlignment="Left"
@@ -329,14 +339,14 @@
329339
SelectedItem="{Binding SelectedIndexSearchEngine}" />
330340

331341
<TextBlock
332-
Grid.Row="6"
342+
Grid.Row="7"
333343
Grid.Column="0"
334344
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
335345
VerticalAlignment="Center"
336346
Foreground="{DynamicResource Color05B}"
337347
Text="{DynamicResource plugin_explorer_Content_Search_Engine}" />
338348
<ComboBox
339-
Grid.Row="6"
349+
Grid.Row="7"
340350
Grid.Column="1"
341351
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
342352
HorizontalAlignment="Left"
@@ -346,14 +356,14 @@
346356
SelectedItem="{Binding SelectedContentSearchEngine}" />
347357

348358
<TextBlock
349-
Grid.Row="7"
359+
Grid.Row="8"
350360
Grid.Column="0"
351361
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
352362
VerticalAlignment="Center"
353363
Foreground="{DynamicResource Color05B}"
354364
Text="{DynamicResource plugin_explorer_Directory_Recursive_Search_Engine}" />
355365
<ComboBox
356-
Grid.Row="7"
366+
Grid.Row="8"
357367
Grid.Column="1"
358368
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
359369
HorizontalAlignment="Left"
@@ -363,14 +373,14 @@
363373
SelectedItem="{Binding SelectedPathEnumerationEngine}" />
364374

365375
<TextBlock
366-
Grid.Row="8"
376+
Grid.Row="9"
367377
Grid.Column="0"
368378
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
369379
VerticalAlignment="Center"
370380
Foreground="{DynamicResource Color05B}"
371381
Text="{DynamicResource plugin_explorer_Excluded_File_Types}" />
372382
<TextBox
373-
Grid.Row="8"
383+
Grid.Row="9"
374384
Grid.Column="1"
375385
MinWidth="{StaticResource SettingPanelTextBoxMinWidth}"
376386
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
@@ -379,14 +389,14 @@
379389
ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}" />
380390

381391
<TextBlock
382-
Grid.Row="9"
392+
Grid.Row="10"
383393
Grid.Column="0"
384394
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
385395
VerticalAlignment="Center"
386396
Foreground="{DynamicResource Color05B}"
387397
Text="{DynamicResource plugin_explorer_Maximum_Results}" />
388398
<TextBox
389-
Grid.Row="9"
399+
Grid.Row="10"
390400
Grid.Column="1"
391401
MinWidth="{StaticResource SettingPanelTextBoxMinWidth}"
392402
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
@@ -398,7 +408,7 @@
398408
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
399409

400410
<Button
401-
Grid.Row="10"
411+
Grid.Row="11"
402412
Grid.Column="0"
403413
Grid.ColumnSpan="2"
404414
Margin="{StaticResource SettingPanelItemTopBottomMargin}"

0 commit comments

Comments
 (0)