mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust ComboBox binding
This commit is contained in:
parent
5f9703ee88
commit
f3fe26bd55
1 changed files with 5 additions and 10 deletions
|
|
@ -161,11 +161,6 @@
|
|||
<StackPanel Grid.Row="0" Margin="30,10,0,0">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel.Resources>
|
||||
<DataTemplate x:Key="EnumBindingModelItemTemplate">
|
||||
<TextBlock Text="{Binding Description}" />
|
||||
</DataTemplate>
|
||||
</StackPanel.Resources>
|
||||
<CheckBox
|
||||
Margin="0,10,0,0"
|
||||
Content="{DynamicResource plugin_explorer_usewindowsindexfordirectorysearch}"
|
||||
|
|
@ -275,9 +270,9 @@
|
|||
Margin="10,15,10,10"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
ItemTemplate="{StaticResource EnumBindingModelItemTemplate}"
|
||||
ItemsSource="{Binding IndexSearchEngines}"
|
||||
SelectedItem="{Binding SelectedIndexSearchEngine}" />
|
||||
SelectedItem="{Binding SelectedIndexSearchEngine}"
|
||||
DisplayMemberPath="Description"/>
|
||||
<TextBlock
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
|
|
@ -292,9 +287,9 @@
|
|||
Margin="10"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
ItemTemplate="{StaticResource EnumBindingModelItemTemplate}"
|
||||
ItemsSource="{Binding ContentIndexSearchEngines}"
|
||||
SelectedItem="{Binding SelectedContentSearchEngine}" />
|
||||
SelectedItem="{Binding SelectedContentSearchEngine}"
|
||||
DisplayMemberPath="Description"/>
|
||||
<TextBlock
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
|
|
@ -309,8 +304,8 @@
|
|||
Margin="10"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
ItemTemplate="{StaticResource EnumBindingModelItemTemplate}"
|
||||
ItemsSource="{Binding PathEnumerationEngines}"
|
||||
DisplayMemberPath="Description"
|
||||
SelectedItem="{Binding SelectedPathEnumerationEngine}" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
|
|
|
|||
Loading…
Reference in a new issue