From 563ffcdd321c4e3ceb0060b75d629a319f185ca5 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 8 Jul 2025 17:55:44 +0100 Subject: [PATCH] [Refactor] Move row and column Grid definitions to attributes --- RomRepoMgr/Views/About.xaml | 17 ++--- RomRepoMgr/Views/EditDat.xaml | 93 +++++++++------------------ RomRepoMgr/Views/ExportDat.xaml | 6 +- RomRepoMgr/Views/ExportRoms.xaml | 7 +- RomRepoMgr/Views/ImportDat.xaml | 6 +- RomRepoMgr/Views/ImportDatFolder.xaml | 13 +--- RomRepoMgr/Views/ImportRomFolder.xaml | 7 +- RomRepoMgr/Views/RemoveDat.xaml | 5 +- RomRepoMgr/Views/SettingsDialog.xaml | 30 +++------ RomRepoMgr/Views/UpdateStats.xaml | 6 +- 10 files changed, 52 insertions(+), 138 deletions(-) diff --git a/RomRepoMgr/Views/About.xaml b/RomRepoMgr/Views/About.xaml index 93846f6..5c34e5f 100644 --- a/RomRepoMgr/Views/About.xaml +++ b/RomRepoMgr/Views/About.xaml @@ -43,14 +43,9 @@ - - - - - - - - + + - - - + VerticalAlignment="Center" + RowDefinitions="Auto,Auto"> - - - - - - - - - - - - + + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - - + diff --git a/RomRepoMgr/Views/ExportRoms.xaml b/RomRepoMgr/Views/ExportRoms.xaml index bb42a4b..4eae7f7 100644 --- a/RomRepoMgr/Views/ExportRoms.xaml +++ b/RomRepoMgr/Views/ExportRoms.xaml @@ -44,12 +44,7 @@ - - - - - - + diff --git a/RomRepoMgr/Views/ImportDat.xaml b/RomRepoMgr/Views/ImportDat.xaml index 6686b69..d534a82 100644 --- a/RomRepoMgr/Views/ImportDat.xaml +++ b/RomRepoMgr/Views/ImportDat.xaml @@ -44,11 +44,7 @@ - - - - - + diff --git a/RomRepoMgr/Views/ImportDatFolder.xaml b/RomRepoMgr/Views/ImportDatFolder.xaml index d8157b7..235309c 100644 --- a/RomRepoMgr/Views/ImportDatFolder.xaml +++ b/RomRepoMgr/Views/ImportDatFolder.xaml @@ -44,12 +44,7 @@ - - - - - - + @@ -57,10 +52,8 @@ FontWeight="Bold" /> - - - - + - - - - - - + diff --git a/RomRepoMgr/Views/RemoveDat.xaml b/RomRepoMgr/Views/RemoveDat.xaml index cf580f8..1a25d79 100644 --- a/RomRepoMgr/Views/RemoveDat.xaml +++ b/RomRepoMgr/Views/RemoveDat.xaml @@ -44,10 +44,7 @@ - - - - + diff --git a/RomRepoMgr/Views/SettingsDialog.xaml b/RomRepoMgr/Views/SettingsDialog.xaml index 0aa0537..25bb993 100644 --- a/RomRepoMgr/Views/SettingsDialog.xaml +++ b/RomRepoMgr/Views/SettingsDialog.xaml @@ -43,15 +43,9 @@ - - - - - - - - - + + - - - - + - - - - + - - - - + - - - - - +