From 982230a7a0f4999b0a450963269fac254671becb Mon Sep 17 00:00:00 2001 From: Chris Pulman Date: Fri, 2 Aug 2024 14:26:09 +0100 Subject: [PATCH] Fix Inability To Have Custom Font Sizes --- .../Views/Pages/DashboardPage.xaml | 11 ++++++++++ .../Appearance/ApplicationThemeManager.cs | 2 +- .../AutoSuggestBox/AutoSuggestBox.xaml | 2 +- .../Controls/Button/Button.xaml | 4 ++-- src/CrissCross.WPF.UI/Controls/Card/Card.xaml | 2 +- .../Controls/CardAction/CardAction.xaml | 2 +- .../Controls/CardControl/CardControl.xaml | 2 +- .../Controls/CardExpander/CardExpander.xaml | 2 +- .../Controls/CheckBox/CheckBox.xaml | 2 +- .../Controls/ComboBox/ComboBox.xaml | 2 +- .../Controls/ContentDialog/ContentDialog.xaml | 4 ++-- .../Controls/DataGrid/DataGrid.xaml | 4 ++-- .../Controls/DatePicker/DatePicker.xaml | 2 +- .../Controls/Expander/Expander.xaml | 2 +- .../FluentNavigationWindow.xaml | 2 +- .../Controls/FluentWindow/FluentWindow.xaml | 2 +- .../HyperlinkButton/HyperlinkButton.xaml | 2 +- .../Controls/InfoBar/InfoBar.xaml | 2 +- .../Controls/ListBox/ListBox.xaml | 2 +- .../Controls/ModernWindow/ModernWindow.xaml | 2 +- .../NavigationViewBasePaneButtonStyle.xaml | 2 +- .../Controls/NumberBox/NumberBox.xaml | 2 +- .../Controls/PasswordBox/PasswordBox.xaml | 4 ++-- .../Controls/RadioButton/RadioButton.xaml | 2 +- .../Controls/RichTextBox/RichTextBox.xaml | 2 +- .../Controls/TextBlock/TextBlock.xaml | 2 +- .../Controls/TextBox/TextBox.xaml | 4 ++-- .../Controls/ThumbRate/ThumbRate.xaml | 2 +- .../Controls/TimePicker/TimePicker.xaml | 2 +- .../Controls/TitleBar/TitleBar.xaml | 2 +- .../Controls/ToggleButton/ToggleButton.xaml | 2 +- .../Controls/ToggleSwitch/ToggleSwitch.xaml | 2 +- .../Controls/TreeView/TreeViewItem.xaml | 20 +++++++++++++++++-- .../Controls/Window/Window.xaml | 2 +- .../Resources/Typography.xaml | 4 ++-- .../Resources/Variables.xaml | 2 +- 36 files changed, 69 insertions(+), 42 deletions(-) diff --git a/src/CrissCross.WPF.UI.Test/Views/Pages/DashboardPage.xaml b/src/CrissCross.WPF.UI.Test/Views/Pages/DashboardPage.xaml index 1dc031d..b4edfe9 100644 --- a/src/CrissCross.WPF.UI.Test/Views/Pages/DashboardPage.xaml +++ b/src/CrissCross.WPF.UI.Test/Views/Pages/DashboardPage.xaml @@ -62,6 +62,7 @@ + + + + + + + diff --git a/src/CrissCross.WPF.UI/Appearance/ApplicationThemeManager.cs b/src/CrissCross.WPF.UI/Appearance/ApplicationThemeManager.cs index cef91a4..123900c 100644 --- a/src/CrissCross.WPF.UI/Appearance/ApplicationThemeManager.cs +++ b/src/CrissCross.WPF.UI/Appearance/ApplicationThemeManager.cs @@ -30,7 +30,7 @@ namespace CrissCross.WPF.UI.Appearance; /// public static class ApplicationThemeManager { - internal const string LibraryNamespace = "wpf.ui;"; + internal const string LibraryNamespace = "crisscross.wpf.ui;"; internal const string ThemesDictionaryPath = "pack://application:,,,/CrissCross.WPF.UI;component/Resources/Theme/"; private static ApplicationTheme _cachedApplicationTheme = ApplicationTheme.Unknown; diff --git a/src/CrissCross.WPF.UI/Controls/AutoSuggestBox/AutoSuggestBox.xaml b/src/CrissCross.WPF.UI/Controls/AutoSuggestBox/AutoSuggestBox.xaml index ba4a8f9..a04dabc 100644 --- a/src/CrissCross.WPF.UI/Controls/AutoSuggestBox/AutoSuggestBox.xaml +++ b/src/CrissCross.WPF.UI/Controls/AutoSuggestBox/AutoSuggestBox.xaml @@ -100,7 +100,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/Button/Button.xaml b/src/CrissCross.WPF.UI/Controls/Button/Button.xaml index af726f3..52a5b44 100644 --- a/src/CrissCross.WPF.UI/Controls/Button/Button.xaml +++ b/src/CrissCross.WPF.UI/Controls/Button/Button.xaml @@ -20,7 +20,7 @@ - + @@ -89,7 +89,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/Card/Card.xaml b/src/CrissCross.WPF.UI/Controls/Card/Card.xaml index 4ad30ec..cf822a7 100644 --- a/src/CrissCross.WPF.UI/Controls/Card/Card.xaml +++ b/src/CrissCross.WPF.UI/Controls/Card/Card.xaml @@ -16,7 +16,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml b/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml index b65d88c..b2f152f 100644 --- a/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml +++ b/src/CrissCross.WPF.UI/Controls/CardAction/CardAction.xaml @@ -24,7 +24,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml b/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml index e5065e0..7cd66ae 100644 --- a/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml +++ b/src/CrissCross.WPF.UI/Controls/CardControl/CardControl.xaml @@ -23,7 +23,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml b/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml index 9f6b6f4..4b9a231 100644 --- a/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml +++ b/src/CrissCross.WPF.UI/Controls/CardExpander/CardExpander.xaml @@ -84,7 +84,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/CheckBox/CheckBox.xaml b/src/CrissCross.WPF.UI/Controls/CheckBox/CheckBox.xaml index 2f2fb73..153a90c 100644 --- a/src/CrissCross.WPF.UI/Controls/CheckBox/CheckBox.xaml +++ b/src/CrissCross.WPF.UI/Controls/CheckBox/CheckBox.xaml @@ -38,7 +38,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/ComboBox/ComboBox.xaml b/src/CrissCross.WPF.UI/Controls/ComboBox/ComboBox.xaml index 50b7c8d..d90f922 100644 --- a/src/CrissCross.WPF.UI/Controls/ComboBox/ComboBox.xaml +++ b/src/CrissCross.WPF.UI/Controls/ComboBox/ComboBox.xaml @@ -144,7 +144,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/ContentDialog/ContentDialog.xaml b/src/CrissCross.WPF.UI/Controls/ContentDialog/ContentDialog.xaml index 7ed5a9d..10803e9 100644 --- a/src/CrissCross.WPF.UI/Controls/ContentDialog/ContentDialog.xaml +++ b/src/CrissCross.WPF.UI/Controls/ContentDialog/ContentDialog.xaml @@ -16,7 +16,7 @@ - + @@ -105,7 +105,7 @@ diff --git a/src/CrissCross.WPF.UI/Controls/DataGrid/DataGrid.xaml b/src/CrissCross.WPF.UI/Controls/DataGrid/DataGrid.xaml index 6cf79eb..2d17632 100644 --- a/src/CrissCross.WPF.UI/Controls/DataGrid/DataGrid.xaml +++ b/src/CrissCross.WPF.UI/Controls/DataGrid/DataGrid.xaml @@ -626,7 +626,7 @@ - + @@ -768,7 +768,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/DatePicker/DatePicker.xaml b/src/CrissCross.WPF.UI/Controls/DatePicker/DatePicker.xaml index 6c3bce7..ec6447e 100644 --- a/src/CrissCross.WPF.UI/Controls/DatePicker/DatePicker.xaml +++ b/src/CrissCross.WPF.UI/Controls/DatePicker/DatePicker.xaml @@ -67,7 +67,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/Expander/Expander.xaml b/src/CrissCross.WPF.UI/Controls/Expander/Expander.xaml index 54a43c3..7b0ed4c 100644 --- a/src/CrissCross.WPF.UI/Controls/Expander/Expander.xaml +++ b/src/CrissCross.WPF.UI/Controls/Expander/Expander.xaml @@ -80,7 +80,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/FluentNavigationWindow/FluentNavigationWindow.xaml b/src/CrissCross.WPF.UI/Controls/FluentNavigationWindow/FluentNavigationWindow.xaml index 5667c75..0b91cdb 100644 --- a/src/CrissCross.WPF.UI/Controls/FluentNavigationWindow/FluentNavigationWindow.xaml +++ b/src/CrissCross.WPF.UI/Controls/FluentNavigationWindow/FluentNavigationWindow.xaml @@ -18,7 +18,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/FluentWindow/FluentWindow.xaml b/src/CrissCross.WPF.UI/Controls/FluentWindow/FluentWindow.xaml index 61b35fd..81b6e40 100644 --- a/src/CrissCross.WPF.UI/Controls/FluentWindow/FluentWindow.xaml +++ b/src/CrissCross.WPF.UI/Controls/FluentWindow/FluentWindow.xaml @@ -18,7 +18,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/HyperlinkButton/HyperlinkButton.xaml b/src/CrissCross.WPF.UI/Controls/HyperlinkButton/HyperlinkButton.xaml index 3c6e626..f16161a 100644 --- a/src/CrissCross.WPF.UI/Controls/HyperlinkButton/HyperlinkButton.xaml +++ b/src/CrissCross.WPF.UI/Controls/HyperlinkButton/HyperlinkButton.xaml @@ -20,7 +20,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/InfoBar/InfoBar.xaml b/src/CrissCross.WPF.UI/Controls/InfoBar/InfoBar.xaml index e0e98fb..e078bec 100644 --- a/src/CrissCross.WPF.UI/Controls/InfoBar/InfoBar.xaml +++ b/src/CrissCross.WPF.UI/Controls/InfoBar/InfoBar.xaml @@ -20,7 +20,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/ListBox/ListBox.xaml b/src/CrissCross.WPF.UI/Controls/ListBox/ListBox.xaml index 5be64e6..256a2c5 100644 --- a/src/CrissCross.WPF.UI/Controls/ListBox/ListBox.xaml +++ b/src/CrissCross.WPF.UI/Controls/ListBox/ListBox.xaml @@ -7,7 +7,7 @@ - + diff --git a/src/CrissCross.WPF.UI/Controls/ModernWindow/ModernWindow.xaml b/src/CrissCross.WPF.UI/Controls/ModernWindow/ModernWindow.xaml index e3cb9a1..15fbbe7 100644 --- a/src/CrissCross.WPF.UI/Controls/ModernWindow/ModernWindow.xaml +++ b/src/CrissCross.WPF.UI/Controls/ModernWindow/ModernWindow.xaml @@ -15,7 +15,7 @@