|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 | 5 | xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" |
6 | | - Width="920" |
7 | | - Height="320" |
8 | | - MinWidth="720" |
9 | | - MinHeight="230" |
| 6 | + Width="800" |
| 7 | + Height="Auto" |
| 8 | + MinWidth="600" |
| 9 | + MinHeight="300" |
10 | 10 | ResizeMode="CanResize" |
11 | 11 | SnapsToDevicePixels="True" |
12 | 12 | Loaded="OnLoaded" |
|
47 | 47 | </Style> |
48 | 48 | </Window.Resources> |
49 | 49 |
|
50 | | - <Grid> |
51 | | - <Border Style="{StaticResource WindowMainPanelStyle}"> |
52 | | - <Grid Background="{DynamicResource Color01B}"> |
| 50 | + <Border Style="{StaticResource WindowMainPanelStyle}"> |
| 51 | + <Grid Background="{DynamicResource Color01B}"> |
53 | 52 | <Grid.ColumnDefinitions> |
54 | 53 | <ColumnDefinition Width="Auto" /> |
55 | 54 | <ColumnDefinition Width="*" /> |
|
171 | 170 | </Path> |
172 | 171 | </Button> |
173 | 172 |
|
174 | | - <Border |
| 173 | + <ScrollViewer |
175 | 174 | Grid.Row="1" |
176 | 175 | Grid.Column="0" |
177 | 176 | Grid.ColumnSpan="5" |
178 | | - Margin="20 8 20 16"> |
179 | | - <ScrollViewer |
180 | | - FontSize="14" |
181 | | - HorizontalScrollBarVisibility="Disabled" |
182 | | - VerticalScrollBarVisibility="Auto"> |
183 | | - <StackPanel Margin="8 0 32 0"> |
| 177 | + FontSize="14" |
| 178 | + HorizontalScrollBarVisibility="Disabled" |
| 179 | + VerticalScrollBarVisibility="Auto"> |
| 180 | + <StackPanel Margin="32 8 32 16"> |
184 | 181 | <!-- Plugin header --> |
185 | | - <Border |
186 | | - Margin="0" |
187 | | - Padding="0 12"> |
188 | | - <Grid Margin="16 12 18 12"> |
| 182 | + <Grid Margin="16 16 18 24"> |
189 | 183 | <Grid.ColumnDefinitions> |
190 | | - <ColumnDefinition Width="36" MinWidth="36" /> |
| 184 | + <ColumnDefinition Width="36" /> |
191 | 185 | <ColumnDefinition Width="*" /> |
192 | 186 | </Grid.ColumnDefinitions> |
193 | 187 | <Image |
|
214 | 208 | Text="{Binding PluginPair.Metadata.Description}" |
215 | 209 | TextWrapping="WrapWithOverflow" /> |
216 | 210 | </StackPanel> |
217 | | - </Grid> |
218 | | - </Border> |
| 211 | + </Grid> |
219 | 212 |
|
220 | | - <Border |
221 | | - Margin="0" |
222 | | - Padding="0" |
223 | | - CornerRadius="5 5 0 0"> |
224 | | - <Border.Style> |
225 | | - <Style BasedOn="{StaticResource SettingGroupBox}" TargetType="Border"> |
226 | | - <Setter Property="BorderThickness" Value="0" /> |
227 | | - <Setter Property="Padding" Value="0" /> |
228 | | - <Setter Property="Margin" Value="0" /> |
229 | | - </Style> |
230 | | - </Border.Style> |
| 213 | + <Border |
| 214 | + Margin="0" |
| 215 | + Padding="0" |
| 216 | + CornerRadius="5 5 0 0" |
| 217 | + BorderThickness="0" |
| 218 | + Style="{StaticResource SettingGroupBox}"> |
231 | 219 | <StackPanel> |
232 | 220 | <!-- Enabled row --> |
233 | | - <Border Style="{StaticResource PluginSettingsRowBorderStyle}"> |
| 221 | + <Border |
| 222 | + BorderThickness="0" |
| 223 | + Style="{StaticResource PluginSettingsRowBorderStyle}"> |
234 | 224 | <DockPanel Margin="{StaticResource SettingPanelMargin}" LastChildFill="False"> |
235 | 225 | <TextBlock Style="{StaticResource PluginSettingsRowGlyphStyle}"> |
236 | 226 |  |
|
317 | 307 | Text="{DynamicResource searchDelay}" /> |
318 | 308 | <ui:NumberBox |
319 | 309 | Width="120" |
320 | | - MinWidth="120" |
321 | 310 | Margin="0 -4.5 0 -4.5" |
322 | 311 | HorizontalAlignment="Right" |
323 | 312 | IsEnabled="{Binding SearchDelayEnabled}" |
|
373 | 362 |
|
374 | 363 | <!-- Plugin Footer --> |
375 | 364 | <ContentControl Content="{Binding BottomPart2}" /> |
376 | | - </StackPanel> |
377 | | - </ScrollViewer> |
378 | | - </Border> |
379 | | - </Grid> |
380 | | - </Border> |
381 | | - </Grid> |
| 365 | + </StackPanel> |
| 366 | + </ScrollViewer> |
| 367 | + </Grid> |
| 368 | + </Border> |
382 | 369 | </Window> |
0 commit comments