From bb851238842c27721f90c5eba733b70a2b476002 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Mon, 2 Dec 2024 16:49:05 +0800
Subject: [PATCH] feat: remove Calendar BorderThickness.
(cherry picked from commit a909b6da6e9889bd19843d5d404c484997d7128f)
---
src/Semi.Avalonia/Controls/Calendar.axaml | 52 ++++++-------------
.../Controls/CalendarDatePicker.axaml | 17 +++---
2 files changed, 24 insertions(+), 45 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/Calendar.axaml b/src/Semi.Avalonia/Controls/Calendar.axaml
index 73e80f5..c5a7709 100644
--- a/src/Semi.Avalonia/Controls/Calendar.axaml
+++ b/src/Semi.Avalonia/Controls/Calendar.axaml
@@ -2,14 +2,12 @@
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:CompileBindings="True">
-
-
-
+
@@ -31,9 +29,9 @@
-
-
-
+
+
+
-
+
+ IsVisible="False"
+ ColumnDefinitions="*,*,*,*,*,*,*">
@@ -107,33 +106,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ IsVisible="False"
+ ColumnDefinitions="*,*,*,*"
+ RowDefinitions="*,*,*" />
@@ -146,13 +126,14 @@
-
+
-
-
-
-
+
+
+
+
+
+
-
-
+
+
@@ -96,25 +96,22 @@
+ Placement="BottomEdgeAlignedLeft"
+ PlacementTarget="{TemplateBinding}">
-
+ SelectedDate="{TemplateBinding SelectedDate, Mode=TwoWay}" />