Skip to content

Commit b637e21

Browse files
committed
Fix list view item vertial center issue
1 parent 5a69a48 commit b637e21

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<DataTemplate x:Key="ListViewActionKeywords" DataType="{x:Type viewModels:ActionKeywordModel}">
2020
<Grid>
2121
<TextBlock
22-
Margin="0 5 0 0"
22+
Margin="0 5 0 5"
2323
IsEnabled="{Binding Enabled}"
2424
Text="{Binding LocalizedDescription, Mode=OneTime}">
2525
<TextBlock.Style>
@@ -37,7 +37,7 @@
3737
</TextBlock>
3838

3939
<TextBlock
40-
Margin="250 5 0 0"
40+
Margin="250 5 0 5"
4141
IsEnabled="{Binding Enabled}"
4242
Text="{Binding Keyword}">
4343
<TextBlock.Style>
@@ -54,7 +54,7 @@
5454
</TextBlock.Style>
5555
</TextBlock>
5656

57-
<TextBlock Margin="480 5 0 0">
57+
<TextBlock Margin="480 5 0 5">
5858
<TextBlock.Style>
5959
<Style TargetType="{x:Type TextBlock}">
6060
<Style.Triggers>
@@ -628,11 +628,10 @@
628628
Grid.Column="1"
629629
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
630630
VerticalAlignment="Center"
631+
DisplayMemberPath="Display"
631632
ItemsSource="{Binding AllEverythingSortOptions}"
632633
SelectedValue="{Binding SelectedEverythingSortOption, Mode=TwoWay}"
633-
SelectedValuePath="Value"
634-
DisplayMemberPath="Display">
635-
</ComboBox>
634+
SelectedValuePath="Value" />
636635

637636
<TextBlock
638637
Grid.Row="3"

0 commit comments

Comments
 (0)