Change Theme Option name from 'FontSizeHeading' to 'HeadingFontSize' for consistency

This commit is contained in:
Mr.k 2024-10-07 17:02:57 +03:00
parent ce5ebca87a
commit 12446c5b83
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
"CustomDialogHeight": "200",
"FontSize": "12",
"FontFamily": "Arial",
"FontSizeHeading": "16",
"HeadingFontSize": "16",
"HeaderFontFamily": "Consolas, Monaco",
"CheckBoxBulletDecoratorSize": "14",
"CheckBoxMargin": "15,0,0,2",

View File

@ -142,7 +142,7 @@ function Invoke-WPFUIElements {
$label = New-Object Windows.Controls.Label
$label.Content = $category -replace ".*__", ""
$label.FontSize = $theme.FontSizeHeading
$label.FontSize = $theme.HeadingFontSize
$label.FontFamily = $theme.HeaderFontFamily
$stackPanel.Children.Add($label) | Out-Null