|
28 | 28 | <Setter Property="BorderThickness" Value="0" />
|
29 | 29 | <Setter Property="FontSize" Value="28" />
|
30 | 30 | <Setter Property="FontWeight" Value="Regular" />
|
31 |
| - <Setter Property="Margin" Value="16,7,0,7" /> |
32 |
| - <Setter Property="Padding" Value="0,4,68,0" /> |
| 31 | + <Setter Property="Margin" Value="16 7 0 7" /> |
| 32 | + <Setter Property="Padding" Value="0 4 68 0" /> |
33 | 33 | <Setter Property="Background" Value="Transparent" />
|
34 | 34 | <Setter Property="Height" Value="48" />
|
35 | 35 | <Setter Property="Foreground" Value="#E3E0E3" />
|
|
69 | 69 |
|
70 | 70 | <!-- Further font customisations are dynamically loaded in Theme.cs -->
|
71 | 71 | <Style x:Key="BaseQueryBoxBgStyle" TargetType="{x:Type Border}">
|
72 |
| - <Setter Property="Margin" Value="0,2,0,0" /> |
| 72 | + <Setter Property="Margin" Value="0 2 0 0" /> |
73 | 73 | </Style>
|
74 | 74 | <Style
|
75 | 75 | x:Key="QueryBoxBgStyle"
|
|
81 | 81 | TargetType="{x:Type TextBox}">
|
82 | 82 | <Setter Property="Foreground" Value="DarkGray" />
|
83 | 83 | <Setter Property="Height" Value="48" />
|
84 |
| - <Setter Property="Margin" Value="16,7,0,7" /> |
| 84 | + <Setter Property="Margin" Value="16 7 0 7" /> |
85 | 85 | <Setter Property="Background" Value="Transparent" />
|
86 |
| - <Setter Property="Padding" Value="0,4,68,0" /> |
| 86 | + <Setter Property="Padding" Value="0 4 68 0" /> |
87 | 87 | <Setter Property="HorizontalAlignment" Value="Stretch" />
|
88 | 88 | <Setter Property="VerticalAlignment" Value="Center" />
|
89 | 89 | </Style>
|
90 | 90 |
|
91 | 91 | <Style x:Key="BaseWindowBorderStyle" TargetType="{x:Type Border}">
|
92 | 92 | <Setter Property="BorderThickness" Value="0" />
|
93 | 93 | <Setter Property="Background" Value="#2F2F2F" />
|
94 |
| - <Setter Property="Padding" Value="0,0,0,0" /> |
| 94 | + <Setter Property="Padding" Value="0 0 0 0" /> |
95 | 95 | <Setter Property="CornerRadius" Value="5" />
|
96 | 96 | <Setter Property="UseLayoutRounding" Value="True" />
|
97 | 97 | <Setter Property="SnapsToDevicePixels" Value="True" />
|
|
115 | 115 | <Setter Property="HorizontalAlignment" Value="Right" />
|
116 | 116 | <Setter Property="VerticalAlignment" Value="Center" />
|
117 | 117 | <Setter Property="Height" Value="Auto" />
|
118 |
| - <Setter Property="Margin" Value="0,0,66,0" /> |
| 118 | + <Setter Property="Margin" Value="0 0 66 0" /> |
119 | 119 | <Setter Property="Visibility" Value="Collapsed" />
|
120 | 120 | </Style>
|
121 | 121 | <Style x:Key="BaseClockBox" TargetType="{x:Type TextBlock}">
|
122 | 122 | <Setter Property="FontSize" Value="20" />
|
123 | 123 | <Setter Property="Foreground" Value="#8f8f8f" />
|
124 | 124 | <Setter Property="HorizontalAlignment" Value="Right" />
|
125 | 125 | <Setter Property="VerticalAlignment" Value="Center" />
|
126 |
| - <Setter Property="Margin" Value="0,0,0,0" /> |
| 126 | + <Setter Property="Margin" Value="0 0 0 0" /> |
127 | 127 | <Style.Triggers>
|
128 | 128 | <DataTrigger Binding="{Binding ElementName=DateBox, Path=Visibility}" Value="Visible">
|
129 | 129 | <Setter Property="FontSize" Value="14" />
|
|
135 | 135 | <Setter Property="Foreground" Value="#8f8f8f" />
|
136 | 136 | <Setter Property="HorizontalAlignment" Value="Right" />
|
137 | 137 | <Setter Property="VerticalAlignment" Value="Center" />
|
138 |
| - <Setter Property="Margin" Value="0,0,0,0" /> |
| 138 | + <Setter Property="Margin" Value="0 0 0 0" /> |
139 | 139 | <Style.Triggers>
|
140 | 140 | <DataTrigger Binding="{Binding ElementName=ClockBox, Path=Visibility}" Value="Visible">
|
141 | 141 | <Setter Property="FontSize" Value="14" />
|
|
188 | 188 | <!-- Item Style -->
|
189 | 189 | <Style x:Key="ProgressBarResult" TargetType="{x:Type ProgressBar}">
|
190 | 190 | <Setter Property="Height" Value="18" />
|
191 |
| - <Setter Property="Margin" Value="0,0,0,4" /> |
| 191 | + <Setter Property="Margin" Value="0 0 0 4" /> |
192 | 192 | <Setter Property="VerticalAlignment" Value="Center" />
|
193 | 193 | <Setter Property="Maximum" Value="100" />
|
194 | 194 | <Setter Property="Minimum" Value="0" />
|
|
214 | 214 | <Style x:Key="BaseItemNumberStyle" TargetType="{x:Type TextBlock}">
|
215 | 215 | <Setter Property="VerticalAlignment" Value="Center" />
|
216 | 216 | <Setter Property="HorizontalAlignment" Value="Center" />
|
217 |
| - <Setter Property="Margin" Value="3,0,0,0" /> |
| 217 | + <Setter Property="Margin" Value="3 0 0 0" /> |
218 | 218 | <Setter Property="FontSize" Value="22" />
|
219 | 219 | </Style>
|
220 | 220 | <Style x:Key="BaseGlyphStyle" TargetType="{x:Type TextBlock}">
|
|
255 | 255 | <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" />
|
256 | 256 | <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
|
257 | 257 | <Setter Property="Margin" Value="{DynamicResource ResultMargin}" />
|
258 |
| - <Setter Property="Padding" Value="0,0,0,0" /> |
| 258 | + <Setter Property="Padding" Value="0 0 0 0" /> |
259 | 259 |
|
260 | 260 | <Setter Property="Template">
|
261 | 261 | <Setter.Value>
|
|
265 | 265 | <Style TargetType="ScrollViewer">
|
266 | 266 | <Style.Triggers>
|
267 | 267 | <Trigger Property="ComputedVerticalScrollBarVisibility" Value="Visible">
|
268 |
| - <Setter Property="Margin" Value="0,0,0,0" /> |
269 |
| - <Setter Property="Padding" Value="0,0,0,0" /> |
| 268 | + <Setter Property="Margin" Value="0 0 0 0" /> |
| 269 | + <Setter Property="Padding" Value="0 0 0 0" /> |
270 | 270 | </Trigger>
|
271 | 271 | <Trigger Property="ComputedVerticalScrollBarVisibility" Value="Collapsed">
|
272 |
| - <Setter Property="Margin" Value="0,0,0,0" /> |
273 |
| - <Setter Property="Padding" Value="0,0,0,0" /> |
| 272 | + <Setter Property="Margin" Value="0 0 0 0" /> |
| 273 | + <Setter Property="Padding" Value="0 0 0 0" /> |
274 | 274 | </Trigger>
|
275 | 275 | </Style.Triggers>
|
276 | 276 | </Style>
|
|
312 | 312 | x:Name="PART_VerticalScrollBar"
|
313 | 313 | Grid.Row="0"
|
314 | 314 | Grid.Column="0"
|
315 |
| - Margin="0,0,0,0" |
| 315 | + Margin="0 0 0 0" |
316 | 316 | HorizontalAlignment="Right"
|
317 | 317 | AutomationProperties.AutomationId="VerticalScrollBar"
|
318 | 318 | Cursor="Arrow"
|
|
368 | 368 | </Setter.Value>
|
369 | 369 | </Setter>
|
370 | 370 | </Style>
|
371 |
| - <Style x:Key="BaseSeparatorStyle" TargetType="Rectangle"> |
372 |
| - <Style.Triggers> |
373 |
| - <MultiDataTrigger> |
374 |
| - <MultiDataTrigger.Conditions> |
375 |
| - <Condition Binding="{Binding ElementName=ResultListBox, Path=Items.Count}" Value="0" /> |
376 |
| - <Condition Binding="{Binding ElementName=ContextMenu, Path=Visibility}" Value="Collapsed" /> |
377 |
| - <Condition Binding="{Binding ElementName=History, Path=Visibility}" Value="Collapsed" /> |
378 |
| - </MultiDataTrigger.Conditions> |
379 |
| - <MultiDataTrigger.Setters> |
380 |
| - <Setter Property="Visibility" Value="Collapsed" /> |
381 |
| - <Setter Property="Margin" Value="0" /> |
382 |
| - <Setter Property="Height" Value="0" /> |
383 |
| - </MultiDataTrigger.Setters> |
384 |
| - </MultiDataTrigger> |
385 |
| - </Style.Triggers> |
386 |
| - </Style> |
| 371 | + <Style x:Key="BaseSeparatorStyle" TargetType="Rectangle" /> |
387 | 372 | <Style x:Key="HighlightStyle">
|
388 | 373 | <Setter Property="Inline.FontWeight" Value="Bold" />
|
389 | 374 | </Style>
|
|
413 | 398 | <Style x:Key="BaseSearchIconPosition" TargetType="{x:Type Canvas}">
|
414 | 399 | <Setter Property="Width" Value="32" />
|
415 | 400 | <Setter Property="Height" Value="32" />
|
416 |
| - <Setter Property="Margin" Value="0,2,18,0" /> |
| 401 | + <Setter Property="Margin" Value="0 2 18 0" /> |
417 | 402 | <Setter Property="Background" Value="Transparent" />
|
418 | 403 | <Setter Property="HorizontalAlignment" Value="Right" />
|
419 | 404 | </Style>
|
420 | 405 | <Style x:Key="BasePreviewBorderStyle" TargetType="{x:Type Border}">
|
421 |
| - <Setter Property="BorderThickness" Value="1,0,0,0" /> |
| 406 | + <Setter Property="BorderThickness" Value="1 0 0 0" /> |
422 | 407 | <Setter Property="BorderBrush" Value="#FFEAEAEA" />
|
423 | 408 | <Setter Property="Background" Value="Transparent" />
|
424 |
| - <Setter Property="Margin" Value="0,0,10,10" /> |
| 409 | + <Setter Property="Margin" Value="0 0 10 10" /> |
425 | 410 | </Style>
|
426 | 411 | <Style x:Key="BasePreviewGlyph" TargetType="{x:Type TextBlock}">
|
427 | 412 | <Setter Property="Foreground" Value="#555555" />
|
|
447 | 432 | <Style x:Key="PreviewSep" TargetType="{x:Type Separator}">
|
448 | 433 | <Setter Property="Visibility" Value="Visible" />
|
449 | 434 | <Setter Property="Background" Value="{Binding ElementName=MiddleSeparator, Path=Fill}" />
|
450 |
| - <Setter Property="Margin" Value="0,15,0,5" /> |
| 435 | + <Setter Property="Margin" Value="0 15 0 5" /> |
451 | 436 | <Style.Triggers>
|
452 | 437 | <DataTrigger Binding="{Binding ElementName=PreviewSubTitle, UpdateSourceTrigger=PropertyChanged, Path=Text.Length}" Value="0">
|
453 | 438 | <Setter Property="Visibility" Value="Collapsed" />
|
|
483 | 468 | <Style x:Key="PluginActivationIcon" TargetType="{x:Type Image}">
|
484 | 469 | <Setter Property="Width" Value="32" />
|
485 | 470 | <Setter Property="Height" Value="32" />
|
486 |
| - <Setter Property="Margin" Value="0,0,18,0" /> |
| 471 | + <Setter Property="Margin" Value="0 0 18 0" /> |
487 | 472 | <Setter Property="VerticalAlignment" Value="Center" />
|
488 | 473 | </Style>
|
489 | 474 |
|
|
495 | 480 | <Style x:Key="SearchIconPosition" TargetType="{x:Type Canvas}">
|
496 | 481 | <Setter Property="Width" Value="32" />
|
497 | 482 | <Setter Property="Height" Value="32" />
|
498 |
| - <Setter Property="Margin" Value="0,2,18,0" /> |
| 483 | + <Setter Property="Margin" Value="0 2 18 0" /> |
499 | 484 | <Setter Property="Background" Value="Transparent" />
|
500 | 485 | <Setter Property="HorizontalAlignment" Value="Right" />
|
501 | 486 | </Style>
|
502 | 487 | <Style
|
503 | 488 | x:Key="ClockPanelPosition"
|
504 | 489 | BasedOn="{StaticResource BaseClockPanelPosition}"
|
505 | 490 | TargetType="{x:Type Canvas}">
|
506 |
| - <Setter Property="Margin" Value="0,2,66,0" /> |
| 491 | + <Setter Property="Margin" Value="0 2 66 0" /> |
507 | 492 | </Style>
|
508 | 493 | <Style
|
509 | 494 | x:Key="ItemHotkeyStyle"
|
|
536 | 521 | <Style x:Key="BasePreviewItemTitleStyle" TargetType="{x:Type TextBlock}">
|
537 | 522 | <Setter Property="Foreground" Value="#8f8f8f" />
|
538 | 523 | <Setter Property="FontSize" Value="15" />
|
539 |
| - <Setter Property="Margin" Value="0,6,0,0" /> |
| 524 | + <Setter Property="Margin" Value="0 6 0 0" /> |
540 | 525 | <Setter Property="HorizontalAlignment" Value="Stretch" />
|
541 | 526 | <Setter Property="TextAlignment" Value="Center" />
|
542 | 527 | <Setter Property="TextWrapping" Value="Wrap" />
|
|
545 | 530 | <Setter Property="Foreground" Value="#8f8f8f" />
|
546 | 531 | <Setter Property="FontSize" Value="12" />
|
547 | 532 | <Setter Property="FontWeight" Value="Normal" />
|
548 |
| - <Setter Property="Margin" Value="0,6,0,10" /> |
| 533 | + <Setter Property="Margin" Value="0 6 0 10" /> |
549 | 534 | <Setter Property="HorizontalAlignment" Value="Stretch" />
|
550 | 535 | <Setter Property="LineHeight" Value="18" />
|
551 | 536 | <Setter Property="TextAlignment" Value="Left" />
|
|
0 commit comments