From 200ca0ce162ffc2965df21c3b3fd6ccef29a72a4 Mon Sep 17 00:00:00 2001 From: Edward Miller Date: Wed, 17 Jan 2024 01:46:39 -0600 Subject: [PATCH 1/2] Make layout sensible --- Maui.DataGrid.Sample/MainPage.xaml | 11 ++- .../Resources/Styles/Colors.xaml | 1 + Maui.DataGrid.Sample/SettingsPopup.xaml | 5 ++ .../ViewModels/MainViewModel.cs | 15 ++++ .../ViewModels/ViewModelBase.cs | 6 +- Maui.DataGrid/DataGrid.xaml | 2 +- Maui.DataGrid/DataGrid.xaml.cs | 86 +++++++++--------- Maui.DataGrid/DataGridCell.cs | 55 ++++++++++++ Maui.DataGrid/DataGridColumn.cs | 2 +- Maui.DataGrid/DataGridRow.cs | 89 +++++-------------- 10 files changed, 157 insertions(+), 115 deletions(-) create mode 100644 Maui.DataGrid/DataGridCell.cs diff --git a/Maui.DataGrid.Sample/MainPage.xaml b/Maui.DataGrid.Sample/MainPage.xaml index 289cf47..af9e6a3 100644 --- a/Maui.DataGrid.Sample/MainPage.xaml +++ b/Maui.DataGrid.Sample/MainPage.xaml @@ -14,12 +14,15 @@