|
8 | 8 | DataContext="{Binding RelativeSource={RelativeSource Self}}" |
9 | 9 | mc:Ignorable="d"> |
10 | 10 | <UserControl.Resources> |
11 | | - <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/> |
| 11 | + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> |
12 | 12 | </UserControl.Resources> |
13 | 13 | <Grid Margin="0"> |
14 | 14 | <Grid.RowDefinitions> |
|
18 | 18 | <RowDefinition Height="Auto" /> |
19 | 19 | </Grid.RowDefinitions> |
20 | 20 | <DockPanel |
21 | | - Margin="70,10,0,8" |
| 21 | + Margin="70 10 0 8" |
22 | 22 | HorizontalAlignment="Stretch" |
23 | 23 | LastChildFill="True"> |
24 | 24 | <TextBlock |
25 | 25 | MinWidth="120" |
26 | | - Margin="0,5,10,0" |
| 26 | + Margin="0 5 10 0" |
27 | 27 | Text="{DynamicResource flowlauncher_plugin_program_index_source}" /> |
28 | 28 | <WrapPanel |
29 | 29 | Width="Auto" |
30 | | - Margin="0,0,14,0" |
| 30 | + Margin="0 0 14 0" |
31 | 31 | HorizontalAlignment="Right" |
32 | 32 | DockPanel.Dock="Right"> |
33 | 33 | <CheckBox |
34 | 34 | Name="UWPEnabled" |
35 | | - Margin="12,0,12,0" |
36 | | - Visibility="{Binding ShowUWPCheckbox, Converter={StaticResource BooleanToVisibilityConverter}}" |
| 35 | + Margin="12 0 12 0" |
37 | 36 | Content="{DynamicResource flowlauncher_plugin_program_index_uwp}" |
38 | 37 | IsChecked="{Binding EnableUWP}" |
39 | | - ToolTip="{DynamicResource flowlauncher_plugin_program_index_uwp_tooltip}" /> |
| 38 | + ToolTip="{DynamicResource flowlauncher_plugin_program_index_uwp_tooltip}" |
| 39 | + Visibility="{Binding ShowUWPCheckbox, Converter={StaticResource BooleanToVisibilityConverter}}" /> |
40 | 40 | <CheckBox |
41 | 41 | Name="StartMenuEnabled" |
42 | | - Margin="12,0,12,0" |
| 42 | + Margin="12 0 12 0" |
43 | 43 | Content="{DynamicResource flowlauncher_plugin_program_index_start}" |
44 | 44 | IsChecked="{Binding EnableStartMenuSource}" |
45 | 45 | ToolTip="{DynamicResource flowlauncher_plugin_program_index_start_tooltip}" /> |
46 | 46 | <CheckBox |
47 | 47 | Name="RegistryEnabled" |
48 | | - Margin="12,0,12,0" |
| 48 | + Margin="12 0 12 0" |
49 | 49 | Content="{DynamicResource flowlauncher_plugin_program_index_registry}" |
50 | 50 | IsChecked="{Binding EnableRegistrySource}" |
51 | 51 | ToolTip="{DynamicResource flowlauncher_plugin_program_index_registry_tooltip}" /> |
52 | 52 | <CheckBox |
53 | 53 | Name="PATHEnabled" |
54 | | - Margin="12,0,12,0" |
| 54 | + Margin="12 0 12 0" |
55 | 55 | Content="{DynamicResource flowlauncher_plugin_program_index_PATH}" |
56 | 56 | IsChecked="{Binding EnablePATHSource}" |
57 | 57 | ToolTip="{DynamicResource flowlauncher_plugin_program_index_PATH_tooltip}" /> |
|
67 | 67 | BorderBrush="{DynamicResource Color03B}" |
68 | 68 | BorderThickness="1" /> |
69 | 69 | <DockPanel |
70 | | - Margin="70,10,0,8" |
| 70 | + Margin="70 10 0 8" |
71 | 71 | HorizontalAlignment="Stretch" |
72 | 72 | LastChildFill="True"> |
73 | 73 | <TextBlock |
74 | 74 | MinWidth="120" |
75 | | - Margin="0,5,10,0" |
| 75 | + Margin="0 5 10 0" |
76 | 76 | Text="{DynamicResource flowlauncher_plugin_program_index_option}" /> |
77 | 77 | <WrapPanel |
78 | 78 | Width="Auto" |
79 | | - Margin="0,0,14,0" |
| 79 | + Margin="0 0 14 0" |
80 | 80 | HorizontalAlignment="Right" |
81 | 81 | DockPanel.Dock="Right"> |
82 | 82 | <CheckBox |
83 | | - Name="HideLnkEnabled" |
84 | | - Margin="12,0,12,0" |
| 83 | + Margin="12 0 12 0" |
85 | 84 | Content="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath}" |
86 | 85 | IsChecked="{Binding HideAppsPath}" |
87 | 86 | ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hidelnkpath_tooltip}" /> |
|
91 | 90 | IsChecked="{Binding HideUninstallers}" |
92 | 91 | ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hideuninstallers_tooltip}" /> |
93 | 92 | <CheckBox |
94 | | - Name="DescriptionEnabled" |
95 | | - Margin="12,0,12,0" |
| 93 | + Margin="12 0 12 0" |
96 | 94 | Content="{DynamicResource flowlauncher_plugin_program_enable_description}" |
97 | 95 | IsChecked="{Binding EnableDescription}" |
98 | 96 | ToolTip="{DynamicResource flowlauncher_plugin_program_enable_description_tooltip}" /> |
| 97 | + <CheckBox |
| 98 | + Margin="12 0 12 0" |
| 99 | + Content="{DynamicResource flowlauncher_plugin_program_enable_hidedulplicatedwindowsapp}" |
| 100 | + IsChecked="{Binding HideDulplicatedWindowsApp}" |
| 101 | + ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hidedulplicatedwindowsapp_tooltip}" /> |
99 | 102 | </WrapPanel> |
100 | 103 | </DockPanel> |
101 | 104 | <Separator |
102 | 105 | Height="1" |
103 | 106 | BorderBrush="{DynamicResource Color03B}" |
104 | 107 | BorderThickness="1" /> |
105 | 108 | <StackPanel |
106 | | - Margin="60,0,0,2" |
| 109 | + Margin="60 0 0 2" |
107 | 110 | HorizontalAlignment="Left" |
108 | 111 | VerticalAlignment="Center" |
109 | 112 | Orientation="Horizontal"> |
110 | 113 | <Button |
111 | 114 | x:Name="btnLoadAllProgramSource" |
112 | 115 | MinWidth="120" |
113 | | - Margin="10,10,5,10" |
| 116 | + Margin="10 10 5 10" |
114 | 117 | HorizontalAlignment="Right" |
115 | 118 | Click="btnLoadAllProgramSource_OnClick" |
116 | 119 | Content="{DynamicResource flowlauncher_plugin_program_all_programs}" /> |
117 | 120 | <Button |
118 | 121 | x:Name="btnProgramSuffixes" |
119 | 122 | MinWidth="120" |
120 | | - Margin="5,10,5,10" |
| 123 | + Margin="5 10 5 10" |
121 | 124 | HorizontalAlignment="Right" |
122 | 125 | Click="BtnProgramSuffixes_OnClick" |
123 | 126 | Content="{DynamicResource flowlauncher_plugin_program_suffixes}" /> |
124 | 127 | <Button |
125 | 128 | x:Name="btnReindex" |
126 | 129 | MinWidth="120" |
127 | | - Margin="5,10,5,10" |
| 130 | + Margin="5 10 5 10" |
128 | 131 | HorizontalAlignment="Right" |
129 | 132 | Click="btnReindex_Click" |
130 | 133 | Content="{DynamicResource flowlauncher_plugin_program_reindex}" /> |
|
142 | 145 | Minimum="0" /> |
143 | 146 | <TextBlock |
144 | 147 | Height="20" |
145 | | - Margin="10,0,0,0" |
| 148 | + Margin="10 0 0 0" |
146 | 149 | HorizontalAlignment="Center" |
147 | 150 | Text="{DynamicResource flowlauncher_plugin_program_indexing}" /> |
148 | 151 | </StackPanel> |
|
151 | 154 | <ListView |
152 | 155 | x:Name="programSourceView" |
153 | 156 | Grid.Row="2" |
154 | | - Margin="70,0,20,0" |
| 157 | + Margin="70 0 20 0" |
155 | 158 | AllowDrop="True" |
156 | 159 | BorderBrush="DarkGray" |
157 | 160 | BorderThickness="1" |
|
203 | 206 | <DockPanel |
204 | 207 | Grid.Row="3" |
205 | 208 | Grid.RowSpan="1" |
206 | | - Margin="0,0,20,0"> |
| 209 | + Margin="0 0 20 0"> |
207 | 210 | <StackPanel HorizontalAlignment="Right" Orientation="Horizontal"> |
208 | 211 | <Button |
209 | 212 | x:Name="btnProgramSourceStatus" |
|
220 | 223 | <Button |
221 | 224 | x:Name="btnAddProgramSource" |
222 | 225 | MinWidth="100" |
223 | | - Margin="10,10,0,10" |
| 226 | + Margin="10 10 0 10" |
224 | 227 | Click="btnAddProgramSource_OnClick" |
225 | 228 | Content="{DynamicResource flowlauncher_plugin_program_add}" /> |
226 | 229 | </StackPanel> |
|
0 commit comments