|
3 | 3 | xmlns:panels="clr-namespace:Avalonia.Labs.Panels;assembly=Avalonia.Labs.Panels"
|
4 | 4 | xmlns:collections="clr-namespace:NexusMods.App.UI.Pages.CollectionDownload;assembly=NexusMods.App.UI"
|
5 | 5 | xmlns:icons="clr-namespace:NexusMods.Icons;assembly=NexusMods.Icons">
|
| 6 | + |
6 | 7 | <Design.PreviewWith>
|
7 | 8 | <Border Width="800" Height="500">
|
8 | 9 | <Border.Resources>
|
|
22 | 23 | </Style.Resources>
|
23 | 24 |
|
24 | 25 | <Style Selector="^ DockPanel#Body">
|
25 |
| - |
26 | 26 | <Style Selector="^ Border#HeaderBorderBackground">
|
27 |
| - |
28 | 27 | <Style Selector="^ Border#HeaderBorder">
|
29 | 28 | <Setter Property="HorizontalAlignment" Value="Stretch" />
|
30 | 29 | <Setter Property="Padding" Value="24,24,24,16" />
|
31 | 30 | <Setter Property="Background" Value="{StaticResource HeaderImageLinearGradientBrush}" />
|
32 |
| - |
33 |
| - |
34 |
| - <Style Selector="^ StackPanel#Header"> |
35 |
| - |
36 |
| - <!-- NOTE(insomnious): Some weird stuff happening here with max width and backgrounds. Layout wise |
| 31 | + |
| 32 | + <!-- NOTE(insomnious): Some weird stuff happening here with max width and backgrounds. Layout wise |
37 | 33 | it's working, as things are aligned correctly, but the background is not being applied correctly.
|
38 | 34 | After chatting with @Al12rs, we are leaving this for now as we can't fully test this (yet) and we
|
39 | 35 | don't want to add extra layout code for no reason -->
|
40 |
| - |
| 36 | + |
| 37 | + <Style Selector="^ StackPanel#Header"> |
41 | 38 | <Style Selector="^ Border#MainContentBorder">
|
42 | 39 | <!-- <Setter Property="Background" Value="DarkGoldenrod" /> -->
|
43 | 40 | <Setter Property="Padding" Value="0, 0, 0, 24" />
|
|
0 commit comments