This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathEverythingSettings.xaml
114 lines (106 loc) · 3.85 KB
/
EverythingSettings.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<UserControl
x:Class="Flow.Launcher.Plugin.Everything.EverythingSettings"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:helper="clr-namespace:Flow.Launcher.Plugin.Everything.Helper"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="300"
d:DesignWidth="426.4"
Loaded="View_Loaded"
mc:Ignorable="d">
<Grid Margin="60,10,0,15" VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.Resources>
<helper:EnumNameConverter x:Key="enumNameConverter" />
</Grid.Resources>
<CheckBox
x:Name="UseLocationAsWorkingDir"
Grid.Row="0"
Grid.ColumnSpan="3"
Margin="10,6,18,6"
HorizontalAlignment="Left"
Content="{DynamicResource flowlauncher_plugin_everything_use_location_as_working_dir}" />
<CheckBox
x:Name="LaunchHidden"
Grid.Row="1"
Grid.ColumnSpan="3"
Margin="10,6,18,6"
HorizontalAlignment="Left"
Content="{DynamicResource flowlauncher_plugin_everything_launch_hidden}" />
<CheckBox
x:Name="ShowWindowsContextMenu"
Grid.Row="2"
Grid.ColumnSpan="3"
Margin="10,6,18,6"
HorizontalAlignment="Left"
Content="{DynamicResource flowlauncher_plugin_everything_show_windows_context_menu}" />
<Label
Grid.Row="3"
Margin="10,6,6,6"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Content="{DynamicResource flowlauncher_plugin_everything_editor_path}" />
<Button
x:Name="OpenEditorPath"
Grid.Row="3"
Grid.Column="1"
MinWidth="50"
HorizontalAlignment="Left"
Click="EditorPath_Clicked"
Content="..." />
<Label
x:Name="EditorPath"
Grid.Row="3"
Grid.Column="1"
Margin="70 0 0 0"
Grid.ColumnSpan="2"
HorizontalAlignment="Left"
VerticalAlignment="Center" />
<TextBlock
Grid.Row="4"
Margin="10"
VerticalAlignment="Center"
Text="{DynamicResource flowlauncher_plugin_everything_sort_by}" />
<ComboBox
Grid.Row="4"
Grid.Column="1"
Width="200"
VerticalAlignment="Center"
ItemsSource="{Binding GetSortOptions, Mode=OneWay}"
SelectedItem="{Binding SortOption}"
SelectionChanged="onSelectionChange">
<ComboBox.ItemTemplate>
<DataTemplate>
<Grid>
<TextBlock Text="{Binding Converter={StaticResource enumNameConverter}}" />
</Grid>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
<TextBlock
Name="tbFastSortWarning"
Grid.Row="4"
Grid.Column="2"
Grid.ColumnSpan="3"
Margin="0 0 10 0"
VerticalAlignment="Center"
Foreground="Orange"
Text="{Binding GetSortOptionWarningMessage}"
TextAlignment="Left"
TextWrapping="Wrap"
Visibility="{Binding FastSortWarningVisibility}" />
</Grid>
</UserControl>