From 2914077d6b24a6fae96b1de95be5e0d896686d72 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 8 Jan 2025 22:47:15 +0800 Subject: [PATCH] feat: unified icon size. --- src/Ursa.Themes.Semi/Controls/Dialog.axaml | 52 +++++++------------ .../Controls/MessageBox.axaml | 8 +-- .../Controls/Notification.axaml | 4 +- src/Ursa.Themes.Semi/Controls/Toast.axaml | 4 +- 4 files changed, 28 insertions(+), 40 deletions(-) diff --git a/src/Ursa.Themes.Semi/Controls/Dialog.axaml b/src/Ursa.Themes.Semi/Controls/Dialog.axaml index 4689866..1dcf7cb 100644 --- a/src/Ursa.Themes.Semi/Controls/Dialog.axaml +++ b/src/Ursa.Themes.Semi/Controls/Dialog.axaml @@ -76,9 +76,8 @@ + Theme="{StaticResource InnerPathIcon}" + Data="{DynamicResource SemiIconClose}" /> @@ -93,8 +92,7 @@ Header="{DynamicResource STRING_MENU_BRING_FORWARD}"> @@ -104,8 +102,7 @@ Header="{DynamicResource STRING_MENU_BRING_TO_FRONT}"> @@ -115,8 +112,7 @@ Header="{DynamicResource STRING_MENU_SEND_BACKWARD}"> @@ -126,17 +122,15 @@ Header="{DynamicResource STRING_MENU_SEND_TO_BACK}"> + Theme="{StaticResource InnerPathIcon}" + Data="{DynamicResource SemiIconClose}" /> @@ -186,8 +180,8 @@ + Theme="{StaticResource InnerPathIcon}" + Data="{DynamicResource SemiIconClose}" /> @@ -409,8 +402,7 @@ Header="{DynamicResource STRING_MENU_BRING_FORWARD}"> @@ -420,8 +412,7 @@ Header="{DynamicResource STRING_MENU_BRING_TO_FRONT}"> @@ -431,8 +422,7 @@ Header="{DynamicResource STRING_MENU_SEND_BACKWARD}"> @@ -442,8 +432,7 @@ Header="{DynamicResource STRING_MENU_SEND_TO_BACK}"> @@ -453,9 +442,8 @@ Header="{DynamicResource STRING_MENU_DIALOG_CLOSE}"> + Theme="{StaticResource InnerPathIcon}" + Data="{DynamicResource SemiIconClose}" /> @@ -588,8 +576,8 @@ @@ -193,8 +193,8 @@ diff --git a/src/Ursa.Themes.Semi/Controls/Notification.axaml b/src/Ursa.Themes.Semi/Controls/Notification.axaml index 2c398fa..f33e013 100644 --- a/src/Ursa.Themes.Semi/Controls/Notification.axaml +++ b/src/Ursa.Themes.Semi/Controls/Notification.axaml @@ -84,8 +84,8 @@