Customize Font Size for WelcomePrompt

Hi there,

Is there any way I can increase the text size of WelcomePrompt? It´s kinda small…
I already found out, how to increase the Timer Size.

psappdeploy

Thanks,
Robert

In the “AppDeployToolkitMain.ps1” file, search for ‘## Form Welcome’. Add the following row to the form controls. Obviously you can choose your own font and size my sample:
$formWelcome.Font = New-Object System.Drawing.Font(“Segoe UI”,12.5,[System.Drawing.FontStyle]::Regular)

This is what mine looks like with changing the background color and font color:
## Form Welcome
$System_Drawing_Size = New-Object -TypeName ‘System.Drawing.Size’
$System_Drawing_Size.Height = 0
$System_Drawing_Size.Width = 0
$formWelcome.Size = $System_Drawing_Size
$formWelcome.Padding = $paddingNone
$formWelcome.Margin = $paddingNone
$formWelcome.DataBindings.DefaultDataSourceUpdateMode = 0
$formWelcome.Font = New-Object System.Drawing.Font(“Segoe UI”,12.5,[System.Drawing.FontStyle]::Regular)
$formWelcome.BackColor = “#4e4e4e
$formWelcome.ForeColor = “WhiteSmoke”
$formWelcome.Name = ‘WelcomeForm’
$formWelcome.Text = $installTitle
$formWelcome.StartPosition = ‘CenterScreen’
$formWelcome.FormBorderStyle = ‘FixedDialog’
$formWelcome.MaximizeBox = $false
$formWelcome.MinimizeBox = $false
$formWelcome.TopMost = $TopMost
$formWelcome.TopLevel = $true
$formWelcome.Icon = New-Object -TypeName ‘System.Drawing.Icon’ -ArgumentList $AppDeployLogoIcon
$formWelcome.AutoSize = $true
$formWelcome.Controls.Add($pictureBanner)
$formWelcome.Controls.Add($flowLayoutPanel)

1 Like

Ah, thank you very much!