From 21a4ad56ea1fcbfc9fa72bd50f410e41a6b12398 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Wed, 8 Feb 2023 11:43:30 +0800 Subject: [PATCH] feat: Update according to feedback. --- .../Pages/DataGridDemo.axaml | 4 +- src/Semi.Avalonia.DataGrid/DataGrid.axaml | 43 +++++++++++-------- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/demo/Semi.Avalonia.Demo/Pages/DataGridDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/DataGridDemo.axaml index 7f9d2b0..cd5c9e8 100644 --- a/demo/Semi.Avalonia.Demo/Pages/DataGridDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/DataGridDemo.axaml @@ -29,7 +29,7 @@ Width="6*" x:DataType="local:Country" Binding="{Binding Name}" - Header="Country" /> + Header="Country or Region" /> + Header="Country or Region" /> - @@ -116,13 +115,18 @@ BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}"> + - + - - @@ -275,11 +280,13 @@ ColumnDefinitions="Auto,*" RowDefinitions="*,Auto,Auto"> - + Margin="2" + Background="{DynamicResource DataGridRowBackground}" + CornerRadius="3" /> - - - - -