Clean up styling to better match Windows fluent design guidelines

This commit is contained in:
Jeffrey
2026-06-17 16:35:36 +02:00
parent a7a46bb5bf
commit 861826915a
11 changed files with 110 additions and 92 deletions

View File

@@ -121,6 +121,8 @@ function Show-MessageBox {
$button1.Content = 'OK'
$button1.Add_Click({ $msgWindow.Tag = 'OK'; $msgWindow.Close() })
$button2.Visibility = 'Collapsed'
# Right-align sole button by moving it to column 1
[System.Windows.Controls.Grid]::SetColumn($button1, 1)
}
'OKCancel' {
$button1.Content = 'OK'