From af6e409233d2edd6b7b4edf8282dd832ad379ffb Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Wed, 10 Jul 2024 00:57:40 +0300 Subject: [PATCH] Add new 'CloseIconFontSize' Theme Option This's done to fix the Visual Issue of the Close Button being smaller than the Settings Button. --- config/themes.json | 3 +++ xaml/inputXML.xaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/themes.json b/config/themes.json index 4bc3766b..c4fc7800 100644 --- a/config/themes.json +++ b/config/themes.json @@ -22,6 +22,7 @@ "IconButtonSize": "35", "WinUtilIconSize": "Auto", "SettingsIconFontSize": "18", + "CloseIconFontSize": "18", "MicroWinLogoSize": "10", @@ -92,6 +93,7 @@ "IconButtonSize": "35", "WinUtilIconSize": "Auto", "SettingsIconFontSize": "18", + "CloseIconFontSize": "18", "MicroWinLogoSize": "10", @@ -160,6 +162,7 @@ "IconButtonSize": "35", "WinUtilIconSize": "Auto", "SettingsIconFontSize": "18", + "CloseIconFontSize": "18", "MicroWinLogoSize": "10", diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 4648924f..86f899e9 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -710,7 +710,7 @@ HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,5,0" FontFamily="Arial" - Foreground="{MainForegroundColor}" FontSize="{IconFontSize}" Name="WPFCloseButton" /> + Foreground="{MainForegroundColor}" FontSize="{CloseIconFontSize}" Name="WPFCloseButton" />