From 62a277cc16a22b2fed5e6b6dd96996318e6d5c81 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Wed, 11 Sep 2024 21:07:36 +0800
Subject: [PATCH] feat: Toast Alignment.
---
.../Controls/Notification.axaml | 18 ++++++------------
src/Ursa.Themes.Semi/Controls/Toast.axaml | 17 ++++++++---------
2 files changed, 14 insertions(+), 21 deletions(-)
diff --git a/src/Ursa.Themes.Semi/Controls/Notification.axaml b/src/Ursa.Themes.Semi/Controls/Notification.axaml
index 5493734..c5943fc 100644
--- a/src/Ursa.Themes.Semi/Controls/Notification.axaml
+++ b/src/Ursa.Themes.Semi/Controls/Notification.axaml
@@ -3,9 +3,9 @@
xmlns:u="https://irihi.tech/ursa">
-
-
-
+
+
+
Hello, Ursa!
@@ -15,10 +15,10 @@
-
+
-
+
@@ -26,41 +26,35 @@
-
+
diff --git a/src/Ursa.Themes.Semi/Controls/Toast.axaml b/src/Ursa.Themes.Semi/Controls/Toast.axaml
index 82a69df..1522196 100644
--- a/src/Ursa.Themes.Semi/Controls/Toast.axaml
+++ b/src/Ursa.Themes.Semi/Controls/Toast.axaml
@@ -3,15 +3,16 @@
xmlns:u="https://irihi.tech/ursa">
-
-
+
+
+
Hello, Ursa!
-
+
-
+
@@ -30,6 +31,7 @@
+
@@ -49,10 +51,9 @@
VerticalAlignment="Top"
BoxShadow="{DynamicResource NotificationCardBoxShadows}"
CornerRadius="{TemplateBinding CornerRadius}">
-
+
-
+