From da3a1f7deaa7b3225c2236275bbb616c1f00f594 Mon Sep 17 00:00:00 2001 From: RedstonCoder <119276078+Hao3288@users.noreply.github.com> Date: Sun, 26 Apr 2026 18:56:21 +0800 Subject: [PATCH] Use LabeledSettingsCard with i18n and IconSource Replace multiple ui:SettingsCard blocks with compact controls:LabeledSettingsCard entries. Each card now uses Header bindings to i18n keys and an IconSource attribute instead of nested HeaderIcon content, while preserving existing Toggled event handlers. This refactors and simplifies the XAML, standardizes icon usage, and enables localization for the floating app interceptor settings. --- .../SettingsViews/Pages/AutomationPage.xaml | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/Ink Canvas/Windows/SettingsViews/Pages/AutomationPage.xaml b/Ink Canvas/Windows/SettingsViews/Pages/AutomationPage.xaml index f891717a..f89203c1 100644 --- a/Ink Canvas/Windows/SettingsViews/Pages/AutomationPage.xaml +++ b/Ink Canvas/Windows/SettingsViews/Pages/AutomationPage.xaml @@ -299,58 +299,58 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +