File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Flow.Launcher/SettingPages/Views Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 39
39
TextAlignment =" left"
40
40
Visibility =" Collapsed" />
41
41
<!-- Theme Preview and Editor -->
42
- <Grid Height =" 380" >
42
+ <Grid >
43
+ <Grid .Style>
44
+ <Style x : Name =" PreviewArea" TargetType =" Grid" >
45
+ <Setter Property =" MaxHeight" Value =" 380" />
46
+ <Style .Triggers>
47
+ <DataTrigger Binding =" {Binding ElementName=Editor, Path=IsChecked}" Value =" True" >
48
+ <Setter Property =" MaxHeight" Value =" 550" />
49
+ </DataTrigger >
50
+ </Style .Triggers>
51
+ </Style >
52
+ </Grid .Style>
43
53
<Grid .Resources>
44
54
<!-- Style for the second ColumnDefinition -->
45
55
<Style x : Key =" SecondColumnStyle" TargetType =" ColumnDefinition" >
386
396
<cc : ExCard .SideContent>
387
397
<StackPanel VerticalAlignment =" Center" Orientation =" Horizontal" >
388
398
<ui : FontIcon
389
- Margin =" 0 0 8 0"
399
+ Margin =" 0 2 8 0"
390
400
VerticalAlignment =" Center"
391
401
FontSize =" 12"
392
402
Glyph ="  "
393
403
Visibility =" {Binding SelectedTheme.IsDark, Converter={StaticResource BoolToVisibilityConverter}}" />
394
404
<ui : FontIcon
395
- Margin =" 0 0 8 0"
405
+ Margin =" 0 2 8 0"
396
406
VerticalAlignment =" Center"
397
407
FontSize =" 12"
398
408
Glyph ="  "
423
433
Width =" Auto"
424
434
Height =" 34"
425
435
Margin =" 0" >
426
- <StackPanel Margin =" 12 0" Orientation =" Horizontal" >
436
+ <StackPanel Margin =" 14 2 14 0" Orientation =" Horizontal" >
427
437
<TextBlock
428
438
Margin =" 0 0 0 0"
429
439
HorizontalAlignment =" Center"
430
440
VerticalAlignment =" Center"
431
- FontSize =" 12"
432
441
Text =" {Binding Name}"
433
442
TextWrapping =" Wrap" />
434
443
<ui : FontIcon
435
- Margin =" 8 0 0 0"
444
+ Margin =" 8 1 0 0"
436
445
VerticalAlignment =" Center"
437
446
FontSize =" 12"
438
447
Glyph ="  "
439
448
Visibility =" {Binding IsDark, Converter={StaticResource BoolToVisibilityConverter}}" />
440
449
<ui : FontIcon
441
- Margin =" 8 0 0 0"
450
+ Margin =" 8 1 0 0"
442
451
VerticalAlignment =" Center"
443
452
FontSize =" 12"
444
453
Glyph ="  "
You can’t perform that action at this time.
0 commit comments