From 2fadfdd5de556b97bbb7836d3142209864f8c58b Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Sat, 10 Aug 2024 13:50:33 +0800
Subject: [PATCH] fix: ClearButton will take the icon place when TextBox has
value.
(cherry picked from commit 7a6c42e1066606daecc6448bfcc01ef8baf9072f)
---
.../Controls/CalendarDatePicker.axaml | 185 +++++++++---------
src/Semi.Avalonia/Controls/ComboBox.axaml | 49 +++--
2 files changed, 126 insertions(+), 108 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/CalendarDatePicker.axaml b/src/Semi.Avalonia/Controls/CalendarDatePicker.axaml
index 16bb361..9d36342 100644
--- a/src/Semi.Avalonia/Controls/CalendarDatePicker.axaml
+++ b/src/Semi.Avalonia/Controls/CalendarDatePicker.axaml
@@ -27,115 +27,112 @@
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
- CornerRadius="{TemplateBinding CornerRadius}">
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ BoxShadow="{DynamicResource CalendarDatePickerPopupBoxShadows}"
+ CornerRadius="{DynamicResource CalendarCornerRadius}">
+
+
+
+
+
-
+
+
-
+
-
+
+
-
-
@@ -159,9 +162,18 @@
-
@@ -222,6 +234,10 @@
+
+
+
@@ -303,5 +323,6 @@
+