Home > other >  Change the entire font style of all dialogs
Change the entire font style of all dialogs

Time:05-07

Based on the answer in this link,

Inno Setup how to change the font color or style of label on TInputFileWizardPage

This is the code to change the font style,

PageFileSelect.PromptLabels[0].Font.Color := clRed;
PageFileSelect.PromptLabels[0].Font.Style := [fsBold, fsItalic];

But how to change the font name, size, color and style of the entire installer dialogs and controls in one go?

CodePudding user response:

Both comments above are correct.

It is quite complicated to to this in vanilla Inno, but there are several 3rd party plugins e.g. VCL Styles or Graphical Installer (check details here) which provide enriched API for this purpose (to make everything easier).

There is a lot of official examples what to do, but if you have any specific question feel free to ask here on SO (I am Inno contributor and developer of Graphical Installer).

CodePudding user response:

The answer is provided in this link,

Change the entire font style of all dialogs (part 2)

[Setup]
DefaultDialogFontName=<your font name here e.g. Showcard Gothic>
  • Related