From 5e99cb6f0296707b26574fd82d1ab7678be357e8 Mon Sep 17 00:00:00 2001 From: Mbucari Date: Tue, 4 Apr 2023 14:09:40 -0600 Subject: [PATCH] Refine dialog layouts and presentation --- Source/LibationAvalonia/App.axaml | 3 + .../Controls/DirectorySelectControl.axaml | 2 +- .../LibationAvalonia/Controls/GroupBox.axaml | 37 +- .../Controls/GroupBox.axaml.cs | 10 +- .../Controls/Settings/Audio.axaml | 455 +++++++++--------- .../Controls/Settings/DownloadDecrypt.axaml | 8 +- .../Controls/Settings/Important.axaml | 16 +- .../Dialogs/AboutDialog.axaml | 2 +- .../Dialogs/AccountsDialog.axaml | 6 +- .../Dialogs/BookDetailsDialog.axaml | 8 +- .../Dialogs/BookRecordsDialog.axaml | 4 +- .../Dialogs/BookRecordsDialog.axaml.cs | 4 +- .../Dialogs/EditQuickFilters.axaml | 6 +- .../Dialogs/EditQuickFilters.axaml.cs | 7 +- .../Dialogs/EditReplacementChars.axaml | 12 +- .../Dialogs/EditReplacementChars.axaml.cs | 10 +- .../Dialogs/EditTemplateDialog.axaml | 5 +- .../Dialogs/EditTemplateDialog.axaml.cs | 14 +- .../Dialogs/LibationFilesDialog.axaml | 2 +- .../Dialogs/LibationFilesDialog.axaml.cs | 4 +- .../LiberatedStatusBatchAutoDialog.axaml | 25 +- .../LiberatedStatusBatchAutoDialog.axaml.cs | 3 - .../LiberatedStatusBatchManualDialog.axaml | 31 +- .../Dialogs/LocateAudiobooksDialog.axaml | 2 +- .../Dialogs/ScanAccountsDialog.axaml | 29 +- .../Dialogs/ScanAccountsDialog.axaml.cs | 12 +- .../Dialogs/SettingsDialog.axaml | 11 +- .../Dialogs/TagsBatchDialog.axaml | 25 +- .../Dialogs/TagsBatchDialog.axaml.cs | 3 - .../Dialogs/TrashBinDialog.axaml | 4 +- .../Dialogs/TrashBinDialog.axaml.cs | 19 +- .../Dialogs/UpgradeNotificationDialog.axaml | 1 - .../Settings/ImportantSettingsVM.cs | 7 +- .../Views/SeriesViewDialog.axaml | 2 +- 34 files changed, 369 insertions(+), 420 deletions(-) diff --git a/Source/LibationAvalonia/App.axaml b/Source/LibationAvalonia/App.axaml index 1342b7cb..ce461dcf 100644 --- a/Source/LibationAvalonia/App.axaml +++ b/Source/LibationAvalonia/App.axaml @@ -74,6 +74,9 @@ + diff --git a/Source/LibationAvalonia/Controls/DirectorySelectControl.axaml b/Source/LibationAvalonia/Controls/DirectorySelectControl.axaml index ee858311..77734d8a 100644 --- a/Source/LibationAvalonia/Controls/DirectorySelectControl.axaml +++ b/Source/LibationAvalonia/Controls/DirectorySelectControl.axaml @@ -24,7 +24,7 @@ Name="combo" MinHeight="{Binding #displayPathTbox.MinHeight}" SelectedItem="{Binding $parent[1].SelectedDirectory, Mode=TwoWay}" - Items="{Binding $parent[1].KnownDirectories}"> + ItemsSource="{Binding $parent[1].KnownDirectories}"> diff --git a/Source/LibationAvalonia/Controls/GroupBox.axaml b/Source/LibationAvalonia/Controls/GroupBox.axaml index c4d23b8f..da3b0e32 100644 --- a/Source/LibationAvalonia/Controls/GroupBox.axaml +++ b/Source/LibationAvalonia/Controls/GroupBox.axaml @@ -3,46 +3,53 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:controls="clr-namespace:LibationAvalonia.Controls" - mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" + mc:Ignorable="d" d:DesignWidth="200" d:DesignHeight="200" x:Class="LibationAvalonia.Controls.GroupBox"> - + + + + + - - - - - @@ -34,19 +40,18 @@ - - + - - + @@ -59,211 +64,137 @@ + - + - + - - - + + + - - - + + + - - - + + + - + - + - - + + - + - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + Text="Downsample to mono? (Recommended)" /> - - - - + + + + - + + - + - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + @@ -325,8 +319,9 @@