Correct the Header Font Size naming and simplify the creation of the Selected Apps Button

This commit is contained in:
Marterich
2025-03-09 15:36:18 +01:00
parent d215d0fc2c
commit f361c43dcc
5 changed files with 10 additions and 21 deletions

View File

@ -144,7 +144,7 @@ function Invoke-WPFUIElements {
$label = New-Object Windows.Controls.Label
$label.Content = $category -replace ".*__", ""
$label.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "FontSizeHeading")
$label.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "HeaderFontSize")
$label.SetResourceReference([Windows.Controls.Control]::FontFamilyProperty, "HeaderFontFamily")
$itemsControl.Items.Add($label) | Out-Null
$sync[$category] = $label