Add setting ui back

This commit is contained in:
Jack251970 2025-06-06 20:14:33 +08:00
parent 475db2bbe8
commit a04829b04e

View file

@ -207,6 +207,7 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
@ -230,16 +231,25 @@
Content="{DynamicResource plugin_explorer_default_open_in_file_manager}"
IsChecked="{Binding Settings.DefaultOpenFolderInFileManager}" />
<TextBlock
<CheckBox
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
HorizontalAlignment="Left"
Content="{DynamicResource plugin_explorer_display_more_info_in_tooltip}"
IsChecked="{Binding Settings.DisplayMoreInformationInToolTip}" />
<TextBlock
Grid.Row="3"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_file_editor_path}" />
<StackPanel
Grid.Row="2"
Grid.Row="3"
Grid.Column="1"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
@ -258,7 +268,7 @@
</StackPanel>
<TextBlock
Grid.Row="3"
Grid.Row="4"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
HorizontalAlignment="Left"
@ -266,7 +276,7 @@
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_folder_editor_path}" />
<StackPanel
Grid.Row="3"
Grid.Row="4"
Grid.Column="1"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
@ -285,7 +295,7 @@
</StackPanel>
<TextBlock
Grid.Row="4"
Grid.Row="5"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
HorizontalAlignment="Left"
@ -293,7 +303,7 @@
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_shell_path}" />
<StackPanel
Grid.Row="4"
Grid.Row="5"
Grid.Column="1"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
Orientation="Horizontal">
@ -312,14 +322,14 @@
</StackPanel>
<TextBlock
Grid.Row="5"
Grid.Row="6"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
VerticalAlignment="Center"
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_Index_Search_Engine}" />
<ComboBox
Grid.Row="5"
Grid.Row="6"
Grid.Column="1"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
HorizontalAlignment="Left"
@ -329,14 +339,14 @@
SelectedItem="{Binding SelectedIndexSearchEngine}" />
<TextBlock
Grid.Row="6"
Grid.Row="7"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
VerticalAlignment="Center"
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_Content_Search_Engine}" />
<ComboBox
Grid.Row="6"
Grid.Row="7"
Grid.Column="1"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
HorizontalAlignment="Left"
@ -346,14 +356,14 @@
SelectedItem="{Binding SelectedContentSearchEngine}" />
<TextBlock
Grid.Row="7"
Grid.Row="8"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
VerticalAlignment="Center"
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_Directory_Recursive_Search_Engine}" />
<ComboBox
Grid.Row="7"
Grid.Row="8"
Grid.Column="1"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
HorizontalAlignment="Left"
@ -363,14 +373,14 @@
SelectedItem="{Binding SelectedPathEnumerationEngine}" />
<TextBlock
Grid.Row="8"
Grid.Row="9"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
VerticalAlignment="Center"
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_Excluded_File_Types}" />
<TextBox
Grid.Row="8"
Grid.Row="9"
Grid.Column="1"
MinWidth="{StaticResource SettingPanelTextBoxMinWidth}"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
@ -379,14 +389,14 @@
ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}" />
<TextBlock
Grid.Row="9"
Grid.Row="10"
Grid.Column="0"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
VerticalAlignment="Center"
Foreground="{DynamicResource Color05B}"
Text="{DynamicResource plugin_explorer_Maximum_Results}" />
<TextBox
Grid.Row="9"
Grid.Row="10"
Grid.Column="1"
MinWidth="{StaticResource SettingPanelTextBoxMinWidth}"
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
@ -398,7 +408,7 @@
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
<Button
Grid.Row="10"
Grid.Row="11"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="{StaticResource SettingPanelItemTopBottomMargin}"