Skip to content

Commit

Permalink
Remove no FlexPanel default overrides as new Avalonia.Labs version up…
Browse files Browse the repository at this point in the history
…date has correct defaults
  • Loading branch information
Al12rs committed Aug 6, 2024
1 parent b409ed2 commit 97c35ac
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@
<!-- FlexPanel Styles -->
<Style Selector="panels|FlexPanel">

<!-- NOTE(Al12rs): `FlexPanel` has initial values that don't match the `FlexBox` specification. -->
<!-- Specification: https://www.w3.org/TR/css-flexbox-1/#property-index -->
<!-- This workaround can be removed once this PR on Avalonia.Labs repo is merged: -->
<!-- https://github.com/Nexus-Mods/NexusMods.App/pull/1725 -->
<Setter Property="AlignItems" Value="Stretch" />
<Setter Property="AlignContent" Value="Stretch" />
<Setter Property="Wrap" Value="NoWrap" />


<!-- NOTE(Al12rs): FlexPanel layout doesn't work correctly if its children don't have the default alignment (Stretch). -->
<!-- As a notable example, Buttons have Left alignment by default set in Avalonia.Fluent theme. -->
<Style Selector="^ > :is(Control)">
Expand Down

0 comments on commit 97c35ac

Please sign in to comment.