|
10 | 10 | xmlns:ui="http://schemas.modernwpf.com/2019"
|
11 | 11 | xmlns:viewModels="clr-namespace:Flow.Launcher.Plugin.Explorer.ViewModels"
|
12 | 12 | xmlns:views="clr-namespace:Flow.Launcher.Plugin.Explorer.Views"
|
13 |
| - Margin="-72 0 -19 -14" |
14 | 13 | d:DataContext="{d:DesignInstance viewModels:SettingsViewModel}"
|
15 | 14 | d:DesignHeight="450"
|
16 | 15 | d:DesignWidth="800"
|
|
86 | 85 | <Setter.Value>
|
87 | 86 | <DataTemplate>
|
88 | 87 | <TextBlock
|
89 |
| - Margin="10 2 2 5" |
| 88 | + Margin="8 5 0 5" |
90 | 89 | FontSize="14"
|
91 | 90 | Foreground="{DynamicResource Color05B}"
|
92 | 91 | Text="{Binding}" />
|
|
101 | 100 | </Style>
|
102 | 101 | </UserControl.Resources>
|
103 | 102 |
|
104 |
| - <Grid Margin="{StaticResource SettingPanelMargin}"> |
105 |
| - <ScrollViewer Margin="0 -10 0 0" VerticalScrollBarVisibility="Auto"> |
| 103 | + <!-- Margin="-2 0 -2 0" is to make sure separator between expanders are expanded to left & right boarder --> |
| 104 | + <Grid Margin="-2 0 -2 0"> |
| 105 | + <ScrollViewer VerticalScrollBarVisibility="Auto"> |
106 | 106 | <StackPanel x:Name="ExpanderContainer">
|
107 | 107 | <!-- General Settings Expander -->
|
108 | 108 | <Expander
|
|
113 | 113 | Loaded="GeneralSettingsExpander_Loaded"
|
114 | 114 | Style="{StaticResource CustomExpanderStyle}">
|
115 | 115 |
|
116 |
| - <Grid Margin="20 5 0 5"> |
| 116 | + <!-- Margin="32 -10 0 5" is to make sure elements is left aligned to the text in the expander text --> |
| 117 | + <Grid Margin="32 -10 0 5"> |
117 | 118 | <Grid.RowDefinitions>
|
118 | 119 | <RowDefinition Height="Auto" />
|
119 | 120 | <RowDefinition Height="Auto" />
|
|
333 | 334 | Header="{DynamicResource plugin_explorer_native_context_menu_header}"
|
334 | 335 | IsExpanded="False"
|
335 | 336 | Style="{StaticResource CustomExpanderStyle}">
|
336 |
| - <Grid Margin="20 5 0 5"> |
| 337 | + <Grid Margin="32 -10 0 5"> |
337 | 338 | <Grid.RowDefinitions>
|
338 | 339 | <RowDefinition Height="Auto" />
|
339 | 340 | <RowDefinition Height="Auto" />
|
|
403 | 404 | Header="{DynamicResource plugin_explorer_previewpanel_setting_header}"
|
404 | 405 | IsExpanded="False"
|
405 | 406 | Style="{StaticResource CustomExpanderStyle}">
|
406 |
| - <Grid Margin="20 5 0 5"> |
| 407 | + <Grid Margin="32 -10 0 5"> |
407 | 408 | <Grid.RowDefinitions>
|
408 | 409 | <RowDefinition Height="Auto" />
|
409 | 410 | <RowDefinition Height="Auto" />
|
|
500 | 501 | Header="{DynamicResource plugin_explorer_everything_setting_header}"
|
501 | 502 | IsExpanded="False"
|
502 | 503 | Style="{StaticResource CustomExpanderStyle}">
|
503 |
| - <Grid Margin="20 5 0 5"> |
| 504 | + <Grid Margin="32 -10 0 5"> |
504 | 505 | <Grid.RowDefinitions>
|
505 | 506 | <RowDefinition Height="Auto" />
|
506 | 507 | <RowDefinition Height="Auto" />
|
|
592 | 593 | Header="{DynamicResource plugin_explorer_manageactionkeywords_header}"
|
593 | 594 | IsExpanded="False"
|
594 | 595 | Style="{StaticResource CustomExpanderStyle}">
|
595 |
| - <Grid Margin="20 5 0 5"> |
| 596 | + <Grid Margin="32 -10 0 5"> |
596 | 597 | <Grid.RowDefinitions>
|
597 | 598 | <RowDefinition Height="Auto" />
|
598 | 599 | <RowDefinition Height="Auto" />
|
|
638 | 639 | Header="{DynamicResource plugin_explorer_quickaccesslinks_header}"
|
639 | 640 | IsExpanded="False"
|
640 | 641 | Style="{StaticResource CustomExpanderStyle}">
|
641 |
| - <Grid Margin="20 5 0 5"> |
| 642 | + <Grid Margin="32 -10 0 5"> |
642 | 643 | <Grid.RowDefinitions>
|
643 | 644 | <RowDefinition Height="Auto" />
|
644 | 645 | <RowDefinition Height="Auto" />
|
|
706 | 707 | Header="{DynamicResource plugin_explorer_indexsearchexcludedpaths_header}"
|
707 | 708 | IsExpanded="False"
|
708 | 709 | Style="{StaticResource CustomExpanderStyle}">
|
709 |
| - <Grid Margin="20 5 0 5"> |
| 710 | + <Grid Margin="32 -10 0 5"> |
710 | 711 | <Grid.RowDefinitions>
|
711 | 712 | <RowDefinition Height="Auto" />
|
712 | 713 | <RowDefinition Height="Auto" />
|
|
0 commit comments