From 67c0db10ace4c4ed02ca7d6ffde0a91ce135fdc2 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Sun, 16 Mar 2025 16:44:07 +0800
Subject: [PATCH] feat: replace TreeDataGrid icon.
---
src/Semi.Avalonia.TreeDataGrid/Shared.axaml | 9 ++---
.../TreeDataGrid.axaml | 36 ++++++-------------
2 files changed, 14 insertions(+), 31 deletions(-)
diff --git a/src/Semi.Avalonia.TreeDataGrid/Shared.axaml b/src/Semi.Avalonia.TreeDataGrid/Shared.axaml
index 53c4bf6..c21ce6b 100644
--- a/src/Semi.Avalonia.TreeDataGrid/Shared.axaml
+++ b/src/Semi.Avalonia.TreeDataGrid/Shared.axaml
@@ -1,9 +1,6 @@
- m6.45 8.34 4.8-5.48a1 1 0 0 1 1.5 0l4.8 5.48A1 1 0 0 1 16.8 10H7.2a1 1 0 0 1-.75-1.66Z
- m17.55 15.66-4.8 5.48a1 1 0 0 1-1.5 0l-4.8-5.48A1 1 0 0 1 7.2 14h9.6a1 1 0 0 1 .75 1.66Z
- m9.66 3.44 8.97 7.8a1 1 0 0 1 0 1.51l-8.97 7.81A1 1 0 0 1 8 19.81V4.19a1 1 0 0 1 1.66-.75Z
-
-
-
+
+
+
2
\ No newline at end of file
diff --git a/src/Semi.Avalonia.TreeDataGrid/TreeDataGrid.axaml b/src/Semi.Avalonia.TreeDataGrid/TreeDataGrid.axaml
index 69307d4..5582f31 100644
--- a/src/Semi.Avalonia.TreeDataGrid/TreeDataGrid.axaml
+++ b/src/Semi.Avalonia.TreeDataGrid/TreeDataGrid.axaml
@@ -87,11 +87,8 @@
@@ -192,25 +189,17 @@
-
-
-
-
-
-
+ Theme="{StaticResource InnerPathIcon}"
+ Classes="Small"
+ Data="{DynamicResource TreeDataGridItemCollapsedChevronPathData}"
+ Foreground="{TemplateBinding Foreground}" />
-
+
\ No newline at end of file