From 7a040120b5044361a636e2519c5ee708fd08e016 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Mon, 5 Jun 2023 22:47:00 +0800 Subject: [PATCH] feat: adjust CheckBox Border style. --- src/Semi.Avalonia/Controls/CheckBox.axaml | 89 +++++++++---------- src/Semi.Avalonia/Controls/RadioButton.axaml | 4 + .../Themes/Dark/RadioButton.axaml | 3 + .../Themes/Light/RadioButton.axaml | 3 + 4 files changed, 52 insertions(+), 47 deletions(-) diff --git a/src/Semi.Avalonia/Controls/CheckBox.axaml b/src/Semi.Avalonia/Controls/CheckBox.axaml index 5bcbe3c..9e0fcaf 100644 --- a/src/Semi.Avalonia/Controls/CheckBox.axaml +++ b/src/Semi.Avalonia/Controls/CheckBox.axaml @@ -4,11 +4,11 @@ x:CompileBindings="True"> - - + + + - @@ -17,50 +17,45 @@ - - - - - - - + + + + + + + - - + @@ -461,4 +456,4 @@ - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/RadioButton.axaml b/src/Semi.Avalonia/Controls/RadioButton.axaml index 289bfd6..e351271 100644 --- a/src/Semi.Avalonia/Controls/RadioButton.axaml +++ b/src/Semi.Avalonia/Controls/RadioButton.axaml @@ -24,6 +24,10 @@ + + + + + + + 3 diff --git a/src/Semi.Avalonia/Themes/Light/RadioButton.axaml b/src/Semi.Avalonia/Themes/Light/RadioButton.axaml index 394d58b..e766323 100644 --- a/src/Semi.Avalonia/Themes/Light/RadioButton.axaml +++ b/src/Semi.Avalonia/Themes/Light/RadioButton.axaml @@ -32,6 +32,9 @@ + + + 3