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


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 ?


!define MUI_WELCOMEPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_WELCOME

!define MUI_FINISHPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_FINISH

-Stu


3 lines also too short,
Is there any method else?
Thanks!


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

Thank you very much!
It works.