fix toggle style

This commit is contained in:
MyDrift 2024-08-07 21:27:07 +02:00
parent ec4cb1d520
commit bb39be794b

View File

@ -188,6 +188,7 @@ function Invoke-WinUtilUIElements {
$checkBox.HorizontalAlignment = "Right"
$checkBox.FontSize = 14
$dockPanel.Children.Add($checkBox) | Out-Null
$checkBox.Style = $window.FindResource("ColorfulToggleSwitchStyle")
$label = New-Object Windows.Controls.Label
$label.Content = $appInfo.Content