Skip to content

Commit

Permalink
whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Nov 26, 2024
1 parent 1ca3d01 commit 1d84e92
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:panels="clr-namespace:Avalonia.Labs.Panels;assembly=Avalonia.Labs.Panels"
xmlns:collections="clr-namespace:NexusMods.App.UI.Pages.CollectionDownload;assembly=NexusMods.App.UI"
xmlns:icons="clr-namespace:NexusMods.Icons;assembly=NexusMods.Icons">

<Design.PreviewWith>
<Border Width="800" Height="500">
<Border.Resources>
Expand All @@ -22,22 +23,18 @@
</Style.Resources>

<Style Selector="^ DockPanel#Body">

<Style Selector="^ Border#HeaderBorderBackground">

<Style Selector="^ Border#HeaderBorder">
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="Padding" Value="24,24,24,16" />
<Setter Property="Background" Value="{StaticResource HeaderImageLinearGradientBrush}" />


<Style Selector="^ StackPanel#Header">

<!-- NOTE(insomnious): Some weird stuff happening here with max width and backgrounds. Layout wise

<!-- NOTE(insomnious): Some weird stuff happening here with max width and backgrounds. Layout wise
it's working, as things are aligned correctly, but the background is not being applied correctly.
After chatting with @Al12rs, we are leaving this for now as we can't fully test this (yet) and we
don't want to add extra layout code for no reason -->


<Style Selector="^ StackPanel#Header">
<Style Selector="^ Border#MainContentBorder">
<!-- <Setter Property="Background" Value="DarkGoldenrod" /> -->
<Setter Property="Padding" Value="0, 0, 0, 24" />
Expand Down

0 comments on commit 1d84e92

Please sign in to comment.