Skip to content

Commit c8f96b4

Browse files
authored
Merge pull request #700 from VNNCC/fix/WindowNotificationManager-NotificationPosition-632
Add missing WindowNotificationManager position pseudo classes in style
2 parents 2630226 + 86763dc commit c8f96b4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/FluentAvalonia/Styling/ControlThemes/BasicControls/WindowNotificationManagerStyles.axaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
<Setter Property="HorizontalAlignment" Value="Right" />
4242
</Style>
4343

44+
<Style Selector="^:topcenter /template/ ReversibleStackPanel#PART_Items">
45+
<Setter Property="VerticalAlignment" Value="Top" />
46+
<Setter Property="HorizontalAlignment" Value="Center" />
47+
</Style>
48+
4449
<Style Selector="^:bottomleft /template/ ReversibleStackPanel#PART_Items">
4550
<Setter Property="ReverseOrder" Value="True" />
4651
<Setter Property="VerticalAlignment" Value="Bottom" />
@@ -52,5 +57,11 @@
5257
<Setter Property="VerticalAlignment" Value="Bottom" />
5358
<Setter Property="HorizontalAlignment" Value="Right" />
5459
</Style>
60+
61+
<Style Selector="^:bottomcenter /template/ ReversibleStackPanel#PART_Items">
62+
<Setter Property="ReverseOrder" Value="True" />
63+
<Setter Property="VerticalAlignment" Value="Bottom" />
64+
<Setter Property="HorizontalAlignment" Value="Center" />
65+
</Style>
5566
</ControlTheme>
5667
</ResourceDictionary>

0 commit comments

Comments
 (0)