Merge pull request #530 from irihitech/notification
fix: add margin to topright notification and toast.
This commit is contained in:
18
src/Ursa.Themes.Semi/Styles/UrsaWindow.axaml
Normal file
18
src/Ursa.Themes.Semi/Styles/UrsaWindow.axaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<Styles xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:u="https://irihi.tech/ursa">
|
||||||
|
<Design.PreviewWith>
|
||||||
|
<Border Padding="20">
|
||||||
|
<!-- Add Controls for Previewer Here -->
|
||||||
|
</Border>
|
||||||
|
</Design.PreviewWith>
|
||||||
|
|
||||||
|
<Style Selector=":is(u|UrsaWindow)[ExtendClientAreaToDecorationsHint=True] u|WindowNotificationManager">
|
||||||
|
<Style Selector="^:topright">
|
||||||
|
<Setter Property="Margin" Value="0 36 0 0"></Setter>
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
|
<Style Selector=":is(u|UrsaWindow)[ExtendClientAreaToDecorationsHint=True] u|WindowToastManager">
|
||||||
|
<Setter Property="Margin" Value="0 36 0 0"></Setter>
|
||||||
|
</Style>
|
||||||
|
</Styles>
|
||||||
@@ -11,5 +11,6 @@
|
|||||||
<StyleInclude Source="ToolBar.axaml"/>
|
<StyleInclude Source="ToolBar.axaml"/>
|
||||||
<StyleInclude Source="TimeBox.axaml"/>
|
<StyleInclude Source="TimeBox.axaml"/>
|
||||||
<StyleInclude Source="UrsaView.axaml" />
|
<StyleInclude Source="UrsaView.axaml" />
|
||||||
|
<StyleInclude Source="UrsaWindow.axaml" />
|
||||||
<!-- Add Styles Here -->
|
<!-- Add Styles Here -->
|
||||||
</Styles>
|
</Styles>
|
||||||
|
|||||||
Reference in New Issue
Block a user