Skip to content

Commit 4a4f0bb

Browse files
committed
- Add plugin page title
- Adjust listbox Margin for fit other setting page list.
1 parent 762df7f commit 4a4f0bb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Flow.Launcher/SettingWindow.xaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -527,12 +527,20 @@
527527
</TabItem.Header>
528528

529529
<Grid>
530-
531-
<TextBlock Text="{DynamicResource plugin}" TextAlignment="left" FontSize="30" Margin="0 5 0 5" />
532-
<Border>
530+
<Grid.ColumnDefinitions>
531+
<ColumnDefinition></ColumnDefinition>
532+
</Grid.ColumnDefinitions>
533+
<Grid.RowDefinitions>
534+
<RowDefinition Height="74"></RowDefinition>
535+
<RowDefinition Height="*"></RowDefinition>
536+
</Grid.RowDefinitions>
537+
<Border Grid.Row="0" Background="#f3f3f3" Padding="5 18 0 0">
538+
<TextBlock Text="{DynamicResource plugin}" TextAlignment="left" FontSize="30" Margin="0 5 0 5"/>
539+
</Border>
540+
<Border Grid.Column="0" Grid.Row="1" Background="#f3f3f3">
533541
<ListBox SelectedIndex="0" SelectedItem="{Binding SelectedPlugin}"
534542
ItemsSource="{Binding PluginViewModels}"
535-
Margin="0, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
543+
Margin="6, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
536544
ItemContainerStyle="{StaticResource PluginList}"
537545
ScrollViewer.IsDeferredScrollingEnabled="True" ScrollViewer.CanContentScroll="False"
538546
Padding="0 0 0 18" Width="Auto" HorizontalAlignment="Stretch">

0 commit comments

Comments
 (0)