Skip to content
⌘ NSIS Forum Archive

How to change the font size of the Welcome and Finish page's Title?

5 posts

kinki kids#

How to change the font size of the Welcome and Finish page's Title?

My program name is very long, so i want to reduce the
font size to fill with the long title ?
Afrow UK#
!define MUI_WELCOMEPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_WELCOME

!define MUI_FINISHPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_FINISH

-Stu
Afrow UK#
This will decrease the font for both pages for just the title boxes:


!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_PAGE_CUSTOMFUNCTION_SHOW WelcomeAndFinishPageShow
!insertmacro MUI_PAGE_WELCOME

!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_PAGE_CUSTOMFUNCTION_SHOW WelcomeAndFinishPageShow
!insertmacro MUI_PAGE_FINISH

...

Function WelcomeAndFinishPageShow

GetDlgItem $R0 $MUI_HWND 1201
CreateFont $R1 $(^Font) 10 700
SendMessage $R0 ${WM_SETFONT} $R1 0

FunctionEnd
-Stu