Correction d'un bug d'affichage dans le texte de la fenêtre de déploiement
This commit is contained in:
1 parent
2212e25d31
commit
4d4f930320
3 files changed
+8
-1
No files matched your search
+6
-1
@@ -827,7 +827,12 @@ function New-DeployCenterDeploymentProgress {
|
||||
$name = New-Object System.Windows.Forms.Label
|
||||
$name.Location = New-Object System.Drawing.Point(6, 0)
|
||||
$name.Size = New-Object System.Drawing.Size([Math]::Max(140, ($listWidth - 380)), 20)
|
||||
$name.Text = Get-DeployCenterText -Text $step
|
||||
$stepLabel = if ([string]$step -eq 'Applying Windows to ') {
|
||||
Get-DeployCenterText -Text 'Applying Windows to target partition…'
|
||||
} else {
|
||||
Get-DeployCenterText -Text $step
|
||||
}
|
||||
$name.Text = $stepLabel
|
||||
$name.ForeColor = $Theme.Text
|
||||
$name.BackColor = [System.Drawing.Color]::Transparent
|
||||
$name.Font = $Font
|
||||
|
||||
Reference in new issue
Block a user