mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add global margin & Remove inner margin & Remove inner scroll viewer
This commit is contained in:
parent
a6812cfd9f
commit
d533f53eb7
1 changed files with 298 additions and 304 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
d:DesignHeight="450"
|
d:DesignHeight="450"
|
||||||
d:DesignWidth="800"
|
d:DesignWidth="800"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
|
||||||
<UserControl.Resources>
|
<UserControl.Resources>
|
||||||
<Style x:Key="ExplorerTabItem" TargetType="{x:Type TabItem}">
|
<Style x:Key="ExplorerTabItem" TargetType="{x:Type TabItem}">
|
||||||
<Setter Property="MinWidth" Value="120" />
|
<Setter Property="MinWidth" Value="120" />
|
||||||
|
|
@ -99,10 +100,10 @@
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<DataTemplate x:Key="ListViewTemplateAccessLinks" DataType="qa:AccessLink">
|
<DataTemplate x:Key="ListViewTemplateAccessLinks" DataType="qa:AccessLink">
|
||||||
<TextBlock Margin="0 5 0 5" Text="{Binding Path, Mode=OneTime}" />
|
<TextBlock Margin="0 5 0 5" Text="{Binding Path, Mode=OneTime}" />
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
<core:TranslationConverter x:Key="TranslationConverter" />
|
|
||||||
<DataTemplate x:Key="ListViewActionKeywords" DataType="{x:Type views:ActionKeywordModel}">
|
<DataTemplate x:Key="ListViewActionKeywords" DataType="{x:Type views:ActionKeywordModel}">
|
||||||
<Grid>
|
<Grid>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
|
@ -141,7 +142,7 @@
|
||||||
</TextBlock.Style>
|
</TextBlock.Style>
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
|
|
||||||
<TextBlock Margin="500 5 0 0">
|
<TextBlock Margin="480 5 0 0">
|
||||||
<TextBlock.Style>
|
<TextBlock.Style>
|
||||||
<Style TargetType="{x:Type TextBlock}">
|
<Style TargetType="{x:Type TextBlock}">
|
||||||
<Style.Triggers>
|
<Style.Triggers>
|
||||||
|
|
@ -160,9 +161,11 @@
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
|
||||||
|
<core:TranslationConverter x:Key="TranslationConverter" />
|
||||||
<converters:EnumNameConverter x:Key="EnumNameConverter" />
|
<converters:EnumNameConverter x:Key="EnumNameConverter" />
|
||||||
</UserControl.Resources>
|
</UserControl.Resources>
|
||||||
<Grid Margin="0">
|
|
||||||
|
<Grid Margin="{StaticResource SettingPanelMargin}">
|
||||||
<TabControl
|
<TabControl
|
||||||
x:Name="TabView"
|
x:Name="TabView"
|
||||||
MinHeight="0"
|
MinHeight="0"
|
||||||
|
|
@ -179,225 +182,221 @@
|
||||||
Width="Auto"
|
Width="Auto"
|
||||||
Header="{DynamicResource plugin_explorer_generalsetting_header}"
|
Header="{DynamicResource plugin_explorer_generalsetting_header}"
|
||||||
Style="{DynamicResource ExplorerTabItem}">
|
Style="{DynamicResource ExplorerTabItem}">
|
||||||
<StackPanel Grid.Row="0" Margin="30 10 0 0">
|
<StackPanel Orientation="Vertical">
|
||||||
<StackPanel>
|
<StackPanel Orientation="Vertical">
|
||||||
<StackPanel Orientation="Vertical">
|
<CheckBox
|
||||||
<CheckBox
|
Margin="0 10 0 0"
|
||||||
Margin="0 10 0 0"
|
HorizontalAlignment="Left"
|
||||||
HorizontalAlignment="Left"
|
Content="{DynamicResource plugin_explorer_use_location_as_working_dir}"
|
||||||
Content="{DynamicResource plugin_explorer_use_location_as_working_dir}"
|
IsChecked="{Binding Settings.UseLocationAsWorkingDir}" />
|
||||||
IsChecked="{Binding Settings.UseLocationAsWorkingDir}" />
|
<CheckBox
|
||||||
<CheckBox
|
Margin="0 10 0 0"
|
||||||
Margin="0 10 0 0"
|
HorizontalAlignment="Left"
|
||||||
HorizontalAlignment="Left"
|
Content="{DynamicResource plugin_explorer_default_open_in_file_manager}"
|
||||||
Content="{DynamicResource plugin_explorer_default_open_in_file_manager}"
|
IsChecked="{Binding Settings.DefaultOpenFolderInFileManager}" />
|
||||||
IsChecked="{Binding Settings.DefaultOpenFolderInFileManager}" />
|
<StackPanel Margin="0 10 0 10" Orientation="Horizontal">
|
||||||
<StackPanel Margin="0 10 0 10" Orientation="Horizontal">
|
<Grid>
|
||||||
<Grid>
|
<Grid.ColumnDefinitions>
|
||||||
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="Auto" SharedSizeGroup="A" />
|
||||||
<ColumnDefinition Width="Auto" SharedSizeGroup="A" />
|
<ColumnDefinition Width="*" SharedSizeGroup="B" />
|
||||||
<ColumnDefinition Width="*" SharedSizeGroup="B" />
|
</Grid.ColumnDefinitions>
|
||||||
</Grid.ColumnDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<Grid.RowDefinitions>
|
<RowDefinition />
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
<RowDefinition />
|
<RowDefinition />
|
||||||
<RowDefinition />
|
</Grid.RowDefinitions>
|
||||||
</Grid.RowDefinitions>
|
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Margin="0 6 16 6"
|
Margin="0 6 16 6"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Text="{DynamicResource plugin_explorer_file_editor_path}"
|
Text="{DynamicResource plugin_explorer_file_editor_path}"
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
<StackPanel
|
<StackPanel
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0 6 6 6"
|
Margin="0 6 6 6"
|
||||||
Orientation="Horizontal">
|
Orientation="Horizontal">
|
||||||
<TextBox
|
|
||||||
Width="250"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{Binding FileEditorPath}"
|
|
||||||
TextWrapping="NoWrap" />
|
|
||||||
<Button
|
|
||||||
MinWidth="50"
|
|
||||||
Margin="5 0 0 0"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Command="{Binding OpenFileEditorPath}"
|
|
||||||
Content="..." />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="1"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 6 16 6"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_folder_editor_path}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<StackPanel
|
|
||||||
Grid.Row="1"
|
|
||||||
Grid.Column="1"
|
|
||||||
Margin="0 6 6 6"
|
|
||||||
Orientation="Horizontal">
|
|
||||||
<TextBox
|
|
||||||
Width="250"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{Binding FolderEditorPath}"
|
|
||||||
TextWrapping="NoWrap" />
|
|
||||||
<Button
|
|
||||||
MinWidth="50"
|
|
||||||
Margin="5 0 0 0"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Command="{Binding OpenFolderEditorPath}"
|
|
||||||
Content="..." />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="2"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 16 6 6"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_shell_path}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<StackPanel
|
|
||||||
Grid.Row="2"
|
|
||||||
Grid.Column="1"
|
|
||||||
Orientation="Horizontal">
|
|
||||||
<TextBox
|
|
||||||
Width="250"
|
|
||||||
Margin="0 10 0 0"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{Binding ShellPath}"
|
|
||||||
TextWrapping="NoWrap" />
|
|
||||||
<Button
|
|
||||||
MinWidth="50"
|
|
||||||
Margin="5 10 0 0"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Command="{Binding OpenShellPath}"
|
|
||||||
Content="..." />
|
|
||||||
</StackPanel>
|
|
||||||
</Grid>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Margin="0 0 0 5" Orientation="Horizontal">
|
|
||||||
<Grid>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto" SharedSizeGroup="C" />
|
|
||||||
<ColumnDefinition Width="*" SharedSizeGroup="D" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="0"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 0 10 0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_Index_Search_Engine}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<ComboBox
|
|
||||||
Grid.Row="0"
|
|
||||||
Grid.Column="1"
|
|
||||||
Width="250"
|
|
||||||
Margin="10 15 10 10"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
DisplayMemberPath="Description"
|
|
||||||
ItemsSource="{Binding IndexSearchEngines}"
|
|
||||||
SelectedItem="{Binding SelectedIndexSearchEngine}" />
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="1"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 0 10 0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_Content_Search_Engine}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<ComboBox
|
|
||||||
Grid.Row="1"
|
|
||||||
Grid.Column="1"
|
|
||||||
Width="250"
|
|
||||||
Margin="10"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
DisplayMemberPath="Description"
|
|
||||||
ItemsSource="{Binding ContentIndexSearchEngines}"
|
|
||||||
SelectedItem="{Binding SelectedContentSearchEngine}" />
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="2"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 0 10 0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_Directory_Recursive_Search_Engine}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<ComboBox
|
|
||||||
Grid.Row="2"
|
|
||||||
Grid.Column="1"
|
|
||||||
Width="250"
|
|
||||||
Margin="10"
|
|
||||||
HorizontalAlignment="Left"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
DisplayMemberPath="Description"
|
|
||||||
ItemsSource="{Binding PathEnumerationEngines}"
|
|
||||||
SelectedItem="{Binding SelectedPathEnumerationEngine}" />
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="3"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 15 20 0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_Excluded_File_Types}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<TextBox
|
<TextBox
|
||||||
Grid.Row="3"
|
Width="250"
|
||||||
Grid.Column="1"
|
|
||||||
MinWidth="350"
|
|
||||||
Margin="0 9 0 6"
|
|
||||||
Text="{Binding ExcludedFileTypes}"
|
|
||||||
ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}" />
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="4"
|
|
||||||
Grid.Column="0"
|
|
||||||
Margin="0 15 20 0"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Text="{DynamicResource plugin_explorer_Maximum_Results}"
|
|
||||||
TextBlock.Foreground="{DynamicResource Color05B}" />
|
|
||||||
<TextBox
|
|
||||||
Grid.Row="4"
|
|
||||||
Grid.Column="1"
|
|
||||||
MinWidth="350"
|
|
||||||
Margin="0 9 0 6"
|
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
MaxLength="6"
|
Text="{Binding FileEditorPath}"
|
||||||
PreviewTextInput="AllowOnlyNumericInput"
|
TextWrapping="NoWrap" />
|
||||||
Text="{Binding MaxResult}"
|
<Button
|
||||||
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
|
MinWidth="50"
|
||||||
</Grid>
|
Margin="5 0 0 0"
|
||||||
</StackPanel>
|
HorizontalAlignment="Left"
|
||||||
<StackPanel Orientation="Horizontal">
|
VerticalAlignment="Center"
|
||||||
<Button
|
Command="{Binding OpenFileEditorPath}"
|
||||||
Margin="0 10 10 20"
|
Content="..." />
|
||||||
Padding="20 10 20 10"
|
</StackPanel>
|
||||||
Click="btnOpenIndexingOptions_Click"
|
|
||||||
Content="{DynamicResource plugin_explorer_Open_Window_Index_Option}" />
|
<TextBlock
|
||||||
</StackPanel>
|
Grid.Row="1"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 6 16 6"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_folder_editor_path}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="1"
|
||||||
|
Margin="0 6 6 6"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<TextBox
|
||||||
|
Width="250"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{Binding FolderEditorPath}"
|
||||||
|
TextWrapping="NoWrap" />
|
||||||
|
<Button
|
||||||
|
MinWidth="50"
|
||||||
|
Margin="5 0 0 0"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Command="{Binding OpenFolderEditorPath}"
|
||||||
|
Content="..." />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 16 6 6"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_shell_path}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="1"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<TextBox
|
||||||
|
Width="250"
|
||||||
|
Margin="0 10 0 0"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{Binding ShellPath}"
|
||||||
|
TextWrapping="NoWrap" />
|
||||||
|
<Button
|
||||||
|
MinWidth="50"
|
||||||
|
Margin="5 10 0 0"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Command="{Binding OpenShellPath}"
|
||||||
|
Content="..." />
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Margin="0 0 0 5" Orientation="Horizontal">
|
||||||
|
<Grid>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="Auto" SharedSizeGroup="C" />
|
||||||
|
<ColumnDefinition Width="*" SharedSizeGroup="D" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="0"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 0 10 0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_Index_Search_Engine}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<ComboBox
|
||||||
|
Grid.Row="0"
|
||||||
|
Grid.Column="1"
|
||||||
|
Width="250"
|
||||||
|
Margin="10 15 10 10"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
DisplayMemberPath="Description"
|
||||||
|
ItemsSource="{Binding IndexSearchEngines}"
|
||||||
|
SelectedItem="{Binding SelectedIndexSearchEngine}" />
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 0 10 0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_Content_Search_Engine}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<ComboBox
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="1"
|
||||||
|
Width="250"
|
||||||
|
Margin="10"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
DisplayMemberPath="Description"
|
||||||
|
ItemsSource="{Binding ContentIndexSearchEngines}"
|
||||||
|
SelectedItem="{Binding SelectedContentSearchEngine}" />
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 0 10 0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_Directory_Recursive_Search_Engine}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<ComboBox
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="1"
|
||||||
|
Width="250"
|
||||||
|
Margin="10"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
DisplayMemberPath="Description"
|
||||||
|
ItemsSource="{Binding PathEnumerationEngines}"
|
||||||
|
SelectedItem="{Binding SelectedPathEnumerationEngine}" />
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="3"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 15 20 0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_Excluded_File_Types}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<TextBox
|
||||||
|
Grid.Row="3"
|
||||||
|
Grid.Column="1"
|
||||||
|
MinWidth="350"
|
||||||
|
Margin="0 9 0 6"
|
||||||
|
Text="{Binding ExcludedFileTypes}"
|
||||||
|
ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}" />
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="4"
|
||||||
|
Grid.Column="0"
|
||||||
|
Margin="0 15 20 0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{DynamicResource plugin_explorer_Maximum_Results}"
|
||||||
|
TextBlock.Foreground="{DynamicResource Color05B}" />
|
||||||
|
<TextBox
|
||||||
|
Grid.Row="4"
|
||||||
|
Grid.Column="1"
|
||||||
|
MinWidth="350"
|
||||||
|
Margin="0 9 0 6"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
MaxLength="6"
|
||||||
|
PreviewTextInput="AllowOnlyNumericInput"
|
||||||
|
Text="{Binding MaxResult}"
|
||||||
|
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<Button
|
||||||
|
Margin="0 10 10 20"
|
||||||
|
Padding="20 10 20 10"
|
||||||
|
Click="btnOpenIndexingOptions_Click"
|
||||||
|
Content="{DynamicResource plugin_explorer_Open_Window_Index_Option}" />
|
||||||
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
@ -405,7 +404,7 @@
|
||||||
Width="Auto"
|
Width="Auto"
|
||||||
Header="{DynamicResource plugin_explorer_native_context_menu_header}"
|
Header="{DynamicResource plugin_explorer_native_context_menu_header}"
|
||||||
Style="{DynamicResource ExplorerTabItem}">
|
Style="{DynamicResource ExplorerTabItem}">
|
||||||
<StackPanel Margin="30 20 10 10">
|
<StackPanel Orientation="Vertical">
|
||||||
<CheckBox
|
<CheckBox
|
||||||
Margin="0 0 0 0"
|
Margin="0 0 0 0"
|
||||||
Content="{DynamicResource plugin_explorer_native_context_menu_display_context_menu}"
|
Content="{DynamicResource plugin_explorer_native_context_menu_display_context_menu}"
|
||||||
|
|
@ -461,7 +460,7 @@
|
||||||
Width="Auto"
|
Width="Auto"
|
||||||
Header="{DynamicResource plugin_explorer_previewpanel_setting_header}"
|
Header="{DynamicResource plugin_explorer_previewpanel_setting_header}"
|
||||||
Style="{DynamicResource ExplorerTabItem}">
|
Style="{DynamicResource ExplorerTabItem}">
|
||||||
<StackPanel Margin="30 20 0 10">
|
<StackPanel Orientation="Vertical">
|
||||||
<TextBlock Foreground="{DynamicResource Color05B}" Text="{DynamicResource plugin_explorer_previewpanel_file_info_label}" />
|
<TextBlock Foreground="{DynamicResource Color05B}" Text="{DynamicResource plugin_explorer_previewpanel_file_info_label}" />
|
||||||
<CheckBox
|
<CheckBox
|
||||||
Margin="0 10 0 0"
|
Margin="0 10 0 0"
|
||||||
|
|
@ -512,7 +511,7 @@
|
||||||
Width="Auto"
|
Width="Auto"
|
||||||
Header="{DynamicResource plugin_explorer_everything_setting_header}"
|
Header="{DynamicResource plugin_explorer_everything_setting_header}"
|
||||||
Style="{DynamicResource ExplorerTabItem}">
|
Style="{DynamicResource ExplorerTabItem}">
|
||||||
<StackPanel Margin="10" Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
<CheckBox
|
<CheckBox
|
||||||
Margin="20 10 0 0"
|
Margin="20 10 0 0"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
|
|
@ -619,98 +618,93 @@
|
||||||
Width="Auto"
|
Width="Auto"
|
||||||
Header="{DynamicResource plugin_explorer_quickaccesslinks_header}"
|
Header="{DynamicResource plugin_explorer_quickaccesslinks_header}"
|
||||||
Style="{DynamicResource ExplorerTabItem}">
|
Style="{DynamicResource ExplorerTabItem}">
|
||||||
<ScrollViewer>
|
<DockPanel HorizontalAlignment="Stretch">
|
||||||
<DockPanel HorizontalAlignment="Stretch">
|
<Border
|
||||||
<Border
|
Margin="10 10 10 5"
|
||||||
Margin="10 10 10 5"
|
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
||||||
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
BorderThickness="1"
|
||||||
|
DockPanel.Dock="Top">
|
||||||
|
<ListView
|
||||||
|
x:Name="lbxAccessLinks"
|
||||||
|
Height="200"
|
||||||
|
AllowDrop="True"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
DockPanel.Dock="Top">
|
DragEnter="lbxAccessLinks_DragEnter"
|
||||||
<ListView
|
Drop="LbxAccessLinks_OnDrop"
|
||||||
x:Name="lbxAccessLinks"
|
ItemTemplate="{StaticResource ListViewTemplateAccessLinks}"
|
||||||
Height="200"
|
ItemsSource="{Binding Settings.QuickAccessLinks}"
|
||||||
AllowDrop="True"
|
SelectedItem="{Binding SelectedQuickAccessLink}" />
|
||||||
BorderThickness="1"
|
</Border>
|
||||||
DragEnter="lbxAccessLinks_DragEnter"
|
<StackPanel
|
||||||
Drop="LbxAccessLinks_OnDrop"
|
HorizontalAlignment="Right"
|
||||||
ItemTemplate="{StaticResource ListViewTemplateAccessLinks}"
|
DockPanel.Dock="Bottom"
|
||||||
ItemsSource="{Binding Settings.QuickAccessLinks}"
|
Orientation="Horizontal">
|
||||||
SelectedItem="{Binding SelectedQuickAccessLink}" />
|
<Button
|
||||||
</Border>
|
MinWidth="100"
|
||||||
<StackPanel
|
Margin="10"
|
||||||
HorizontalAlignment="Right"
|
Command="{Binding RemoveLinkCommand}"
|
||||||
DockPanel.Dock="Bottom"
|
CommandParameter="QuickAccessLink"
|
||||||
Orientation="Horizontal">
|
Content="{DynamicResource plugin_explorer_delete}" />
|
||||||
<Button
|
<Button
|
||||||
MinWidth="100"
|
MinWidth="100"
|
||||||
Margin="10"
|
Margin="10"
|
||||||
Command="{Binding RemoveLinkCommand}"
|
Command="{Binding EditLinkCommand}"
|
||||||
CommandParameter="QuickAccessLink"
|
CommandParameter="QuickAccessLink"
|
||||||
Content="{DynamicResource plugin_explorer_delete}" />
|
Content="{DynamicResource plugin_explorer_edit}" />
|
||||||
<Button
|
<Button
|
||||||
MinWidth="100"
|
MinWidth="100"
|
||||||
Margin="10"
|
Margin="10"
|
||||||
Command="{Binding EditLinkCommand}"
|
Command="{Binding AddLinkCommand}"
|
||||||
CommandParameter="QuickAccessLink"
|
CommandParameter="QuickAccessLink"
|
||||||
Content="{DynamicResource plugin_explorer_edit}" />
|
Content="{DynamicResource plugin_explorer_add}" />
|
||||||
<Button
|
</StackPanel>
|
||||||
MinWidth="100"
|
</DockPanel>
|
||||||
Margin="10"
|
|
||||||
Command="{Binding AddLinkCommand}"
|
|
||||||
CommandParameter="QuickAccessLink"
|
|
||||||
Content="{DynamicResource plugin_explorer_add}" />
|
|
||||||
</StackPanel>
|
|
||||||
</DockPanel>
|
|
||||||
</ScrollViewer>
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem
|
<TabItem
|
||||||
Width="Auto"
|
Width="Auto"
|
||||||
Header="{DynamicResource plugin_explorer_indexsearchexcludedpaths_header}"
|
Header="{DynamicResource plugin_explorer_indexsearchexcludedpaths_header}"
|
||||||
Style="{DynamicResource ExplorerTabItem}">
|
Style="{DynamicResource ExplorerTabItem}">
|
||||||
<ScrollViewer>
|
<DockPanel HorizontalAlignment="Stretch">
|
||||||
<DockPanel HorizontalAlignment="Stretch">
|
<Border
|
||||||
<Border
|
Margin="10 10 10 5"
|
||||||
Margin="10 10 10 5"
|
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
||||||
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
|
BorderThickness="1"
|
||||||
BorderThickness="1"
|
DockPanel.Dock="Top">
|
||||||
DockPanel.Dock="Top">
|
<ListView
|
||||||
<ListView
|
Name="lbxExcludedPaths"
|
||||||
Name="lbxExcludedPaths"
|
Height="200"
|
||||||
Height="200"
|
AllowDrop="True"
|
||||||
AllowDrop="True"
|
DragEnter="lbxAccessLinks_DragEnter"
|
||||||
DragEnter="lbxAccessLinks_DragEnter"
|
Drop="LbxExcludedPaths_OnDrop"
|
||||||
Drop="LbxExcludedPaths_OnDrop"
|
ItemTemplate="{StaticResource ListViewTemplateAccessLinks}"
|
||||||
ItemTemplate="{StaticResource ListViewTemplateAccessLinks}"
|
ItemsSource="{Binding Settings.IndexSearchExcludedSubdirectoryPaths}"
|
||||||
ItemsSource="{Binding Settings.IndexSearchExcludedSubdirectoryPaths}"
|
SelectedItem="{Binding SelectedIndexSearchExcludedPath}" />
|
||||||
SelectedItem="{Binding SelectedIndexSearchExcludedPath}" />
|
</Border>
|
||||||
</Border>
|
<StackPanel
|
||||||
<StackPanel
|
HorizontalAlignment="Right"
|
||||||
HorizontalAlignment="Right"
|
DockPanel.Dock="Bottom"
|
||||||
DockPanel.Dock="Bottom"
|
Orientation="Horizontal">
|
||||||
Orientation="Horizontal">
|
<Button
|
||||||
<Button
|
MinWidth="100"
|
||||||
MinWidth="100"
|
Margin="10"
|
||||||
Margin="10"
|
Command="{Binding RemoveLinkCommand}"
|
||||||
Command="{Binding RemoveLinkCommand}"
|
CommandParameter="IndexSearchExcludedPaths"
|
||||||
CommandParameter="IndexSearchExcludedPaths"
|
Content="{DynamicResource plugin_explorer_delete}" />
|
||||||
Content="{DynamicResource plugin_explorer_delete}" />
|
<Button
|
||||||
<Button
|
MinWidth="100"
|
||||||
MinWidth="100"
|
Margin="10"
|
||||||
Margin="10"
|
Command="{Binding EditLinkCommand}"
|
||||||
Command="{Binding EditLinkCommand}"
|
CommandParameter="IndexSearchExcludedPaths"
|
||||||
CommandParameter="IndexSearchExcludedPaths"
|
Content="{DynamicResource plugin_explorer_edit}" />
|
||||||
Content="{DynamicResource plugin_explorer_edit}" />
|
<Button
|
||||||
<Button
|
MinWidth="100"
|
||||||
MinWidth="100"
|
Margin="10"
|
||||||
Margin="10"
|
Command="{Binding AddLinkCommand}"
|
||||||
Command="{Binding AddLinkCommand}"
|
CommandParameter="IndexSearchExcludedPaths"
|
||||||
CommandParameter="IndexSearchExcludedPaths"
|
Content="{DynamicResource plugin_explorer_add}" />
|
||||||
Content="{DynamicResource plugin_explorer_add}" />
|
</StackPanel>
|
||||||
</StackPanel>
|
</DockPanel>
|
||||||
</DockPanel>
|
|
||||||
</ScrollViewer>
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue