Add plugin list last item bottom margin

This commit is contained in:
Dobin Park 2021-10-10 07:28:19 +09:00
commit c5f1b2840f

View file

@ -191,7 +191,7 @@
<Style x:Key="PluginList" TargetType="ListBoxItem">
<Setter Property="Background" Value="#ffffff" />
<Setter Property="Padding" Value="0 12 0 12" />
<Setter Property="Margin" Value="0 4 18 0" />
<Setter Property="Margin" Value="0 0 18 4" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="BorderBrush" Value="#e5e5e5" />
<!--#region Template for blue highlight win10-->
@ -537,14 +537,18 @@
<Border Grid.Row="0" Background="#f3f3f3" Padding="5 18 0 0">
<TextBlock Text="{DynamicResource plugin}" TextAlignment="left" FontSize="30" Margin="0 5 0 5"/>
</Border>
<Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3">
<Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3" Padding="0 0 0 0">
<ListBox SelectedItem="{Binding SelectedPlugin}"
ItemsSource="{Binding PluginViewModels}"
Margin="6, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ItemContainerStyle="{StaticResource PluginList}"
ScrollViewer.IsDeferredScrollingEnabled="True" ScrollViewer.CanContentScroll="False"
Padding="0 0 0 18" Width="Auto" HorizontalAlignment="Stretch">
Padding="0 0 0 0" Width="Auto" HorizontalAlignment="Stretch">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Margin="0,0,0,18"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<Expander Grid.Column="4" x:Name="expanderHeader"