Refactor/clean up window styles

This commit is contained in:
Raphire
2026-03-23 21:35:33 +01:00
parent b5c576519b
commit 2eddbe5638
6 changed files with 141 additions and 206 deletions

View File

@@ -1403,13 +1403,13 @@ function Show-MainWindow {
if ($userSelectionCombo.SelectedIndex -ne 2) {
$appRemovalScopeCombo.IsEnabled = $true
}
$appRemovalScopeSection.Opacity = 1.0
$appRemovalScopeSection.Visibility = 'Visible'
UpdateAppRemovalScopeDescription
}
else {
# Disable app removal scope selection when no apps selected
$appRemovalScopeCombo.IsEnabled = $false
$appRemovalScopeSection.Opacity = 0.5
$appRemovalScopeSection.Visibility = 'Collapsed'
$appRemovalScopeDescription.Text = "No apps selected for removal."
}