From d712f1664265fed88759a147aacd88c577a352fd Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Sat, 25 Jan 2025 13:07:38 +0800
Subject: [PATCH] feat: redesign ScrollViewer.
---
src/Semi.Avalonia/Controls/ScrollViewer.axaml | 86 +++++++++----------
.../Themes/Shared/ScrollViewer.axaml | 4 +-
2 files changed, 43 insertions(+), 47 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/ScrollViewer.axaml b/src/Semi.Avalonia/Controls/ScrollViewer.axaml
index c16227a..3c24ff7 100644
--- a/src/Semi.Avalonia/Controls/ScrollViewer.axaml
+++ b/src/Semi.Avalonia/Controls/ScrollViewer.axaml
@@ -2,7 +2,6 @@
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="using:Avalonia.Controls.Converters"
- xmlns:dialog="using:Avalonia.Dialogs"
x:CompileBindings="True">
@@ -18,15 +17,16 @@
Height="400"
Background="aqua" />
-
-
+
-
+
-
-
-
@@ -268,7 +266,6 @@
Grid.Row="0"
Grid.Column="1"
Orientation="Vertical" />
-
@@ -316,7 +313,6 @@
Grid.Row="0"
Grid.Column="1"
Orientation="Vertical" />
-
@@ -361,12 +357,12 @@
-
-
-
+
\ No newline at end of file
diff --git a/src/Semi.Avalonia/Themes/Shared/ScrollViewer.axaml b/src/Semi.Avalonia/Themes/Shared/ScrollViewer.axaml
index 771973a..4c8da9e 100644
--- a/src/Semi.Avalonia/Themes/Shared/ScrollViewer.axaml
+++ b/src/Semi.Avalonia/Themes/Shared/ScrollViewer.axaml
@@ -1,6 +1,6 @@
-
- 10
+
+