Skip to content

Commit c5f1b28

Browse files
committed
Add plugin list last item bottom margin
2 parents 579f8c8 + 2d98dcb commit c5f1b28

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Flow.Launcher/SettingWindow.xaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
<Style x:Key="PluginList" TargetType="ListBoxItem">
192192
<Setter Property="Background" Value="#ffffff" />
193193
<Setter Property="Padding" Value="0 12 0 12" />
194-
<Setter Property="Margin" Value="0 4 18 0" />
194+
<Setter Property="Margin" Value="0 0 18 4" />
195195
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
196196
<Setter Property="BorderBrush" Value="#e5e5e5" />
197197
<!--#region Template for blue highlight win10-->
@@ -537,14 +537,18 @@
537537
<Border Grid.Row="0" Background="#f3f3f3" Padding="5 18 0 0">
538538
<TextBlock Text="{DynamicResource plugin}" TextAlignment="left" FontSize="30" Margin="0 5 0 5"/>
539539
</Border>
540-
<Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3">
540+
<Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3" Padding="0 0 0 0">
541541
<ListBox SelectedItem="{Binding SelectedPlugin}"
542542
ItemsSource="{Binding PluginViewModels}"
543543
Margin="6, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
544544
ItemContainerStyle="{StaticResource PluginList}"
545545
ScrollViewer.IsDeferredScrollingEnabled="True" ScrollViewer.CanContentScroll="False"
546-
Padding="0 0 0 18" Width="Auto" HorizontalAlignment="Stretch">
547-
546+
Padding="0 0 0 0" Width="Auto" HorizontalAlignment="Stretch">
547+
<ListBox.ItemsPanel>
548+
<ItemsPanelTemplate>
549+
<StackPanel Margin="0,0,0,18"/>
550+
</ItemsPanelTemplate>
551+
</ListBox.ItemsPanel>
548552
<ListBox.ItemTemplate>
549553
<DataTemplate>
550554
<Expander Grid.Column="4" x:Name="expanderHeader"

0 commit comments

Comments
 (0)