|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | 6 | xmlns:helper="clr-namespace:Flow.Launcher.Plugin.Everything.Helper" |
| 7 | + xmlns:vm="clr-namespace:Flow.Launcher.Plugin.Everything.ViewModels" |
7 | 8 | mc:Ignorable="d" |
8 | 9 | Loaded="View_Loaded" |
9 | 10 | d:DesignHeight="300" d:DesignWidth="426.4"> |
|
13 | 14 | <RowDefinition/> |
14 | 15 | <RowDefinition/> |
15 | 16 | <RowDefinition Height="50"/> |
16 | | - <RowDefinition Height="50"/> |
17 | 17 | </Grid.RowDefinitions> |
18 | 18 | <Grid.ColumnDefinitions> |
19 | 19 | <ColumnDefinition /> |
|
34 | 34 | <Label Grid.Row="2" Grid.Column="1" x:Name="EditorPath" Margin="10" HorizontalAlignment="Left" /> |
35 | 35 | <Button Grid.Row="2" Grid.Column="2" x:Name="OpenEditorPath" Content="..." Margin="10" |
36 | 36 | HorizontalAlignment="Left" Click="EditorPath_Clicked"/> |
37 | | - <TextBlock Grid.Row="3" Text="{DynamicResource flowlauncher_plugin_everything_customized_title}" Margin="10,0,0,0" VerticalAlignment="Center" |
38 | | - ToolTip="{DynamicResource flowlauncher_plugin_everything_customized_tooltip}"/> |
39 | | - <TextBox Grid.Row="3" |
40 | | - Grid.Column="1" |
41 | | - TextWrapping="NoWrap" |
42 | | - VerticalAlignment="Center" |
43 | | - HorizontalAlignment="Left" |
44 | | - Width="150" |
45 | | - Height="35" |
46 | | - Margin="0,5,0,0" |
47 | | - TextChanged="CustomizeExplorer" x:Name="CustomizeExplorerBox"/> |
48 | | - <TextBlock Grid.Row="3" Grid.Column="2" Text="{DynamicResource flowlauncher_plugin_everything_customized_args}" VerticalAlignment="Center" Margin="5" |
49 | | - ToolTip="{DynamicResource flowlauncher_plugin_everything_customized_args_tooltip}"></TextBlock> |
50 | | - <TextBox Grid.Row="3" Grid.Column="2" HorizontalAlignment="Right" |
51 | | - ToolTip="{DynamicResource flowlauncher_plugin_everything_customized_args_textbox}" |
52 | | - Margin="0,0,5,0" Width="80" Height="35" x:Name="CustomizeArgsBox" TextChanged="CustomizeExplorerArgs"></TextBox> |
53 | | - <TextBlock Margin="10 15 10 10" Text="{DynamicResource flowlauncher_plugin_everything_sort_by}" Grid.Row="4"/> |
| 37 | + <TextBlock Margin="10 15 10 10" Text="{DynamicResource flowlauncher_plugin_everything_sort_by}" Grid.Row="3"/> |
54 | 38 |
|
55 | | - <ComboBox Grid.Row="4" |
| 39 | + <ComboBox Grid.Row="3" |
56 | 40 | Grid.Column="1" |
57 | 41 | Width="200" |
58 | 42 | Margin="0 10 0 0" |
59 | 43 | SelectedItem="{Binding SortOption}" |
60 | 44 | ItemsSource="{Binding GetSortOptions, Mode=OneWay}" |
61 | | - SelectionChanged="onSelectionChange"> |
| 45 | + SelectionChanged="onSelectionChange" d:DataContext="{d:DesignInstance vm:SettingsViewModel}"> |
62 | 46 | <ComboBox.ItemTemplate> |
63 | 47 | <DataTemplate> |
64 | 48 | <Grid> |
|
0 commit comments