From 2a70cd7ced694efe7295e22ed3c54e24c3bd7ded Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 9 Apr 2025 17:24:22 +0800 Subject: [PATCH 1/2] feat: use Button theme for RepeatButton. --- src/Semi.Avalonia/Controls/RepeatButton.axaml | 267 +----------------- 1 file changed, 4 insertions(+), 263 deletions(-) diff --git a/src/Semi.Avalonia/Controls/RepeatButton.axaml b/src/Semi.Avalonia/Controls/RepeatButton.axaml index 97584ac..f069bbe 100644 --- a/src/Semi.Avalonia/Controls/RepeatButton.axaml +++ b/src/Semi.Avalonia/Controls/RepeatButton.axaml @@ -2,267 +2,8 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:CompileBindings="True"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + \ No newline at end of file From c0622970318926c1531b199c7a792c473b39c9df Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 9 Apr 2025 17:27:55 +0800 Subject: [PATCH 2/2] feat: remove scale transform in Button. --- src/Semi.Avalonia/Controls/Button.axaml | 4 ---- src/Semi.Avalonia/Controls/DropDownButton.axaml | 4 ---- src/Semi.Avalonia/Controls/HyperlinkButton.axaml | 2 -- src/Semi.Avalonia/Controls/ToggleButton.axaml | 4 ---- src/Semi.Avalonia/Controls/ToggleSwitch.axaml | 4 ---- 5 files changed, 18 deletions(-) diff --git a/src/Semi.Avalonia/Controls/Button.axaml b/src/Semi.Avalonia/Controls/Button.axaml index 400c5e5..6345893 100644 --- a/src/Semi.Avalonia/Controls/Button.axaml +++ b/src/Semi.Avalonia/Controls/Button.axaml @@ -45,10 +45,6 @@ - - - - diff --git a/src/Semi.Avalonia/Controls/ToggleSwitch.axaml b/src/Semi.Avalonia/Controls/ToggleSwitch.axaml index 3499326..8c0bafc 100644 --- a/src/Semi.Avalonia/Controls/ToggleSwitch.axaml +++ b/src/Semi.Avalonia/Controls/ToggleSwitch.axaml @@ -432,10 +432,6 @@ - -