Archive: MUI_HEADER_TEXT sub-title string limit


MUI_HEADER_TEXT sub-title string limit
Hello,

I have a custom dialog. I am setting up a title and sub-title.

!insertmacro MUI_HEADER_TEXT $(title) $(sub_title)

It seems that $(sub_title) has string limit of 125 characters.
Is it possible to increase the string length of $(sub_title)

Thank you.


I don't think there is a hard limit of 125 characters (the code simply uses SendMessage to set the new string to the controls)... perhaps it's simply cut-off at the 125th character because there's no more space? Might have to make the control larger if you need to fit more text.


How do I make control larger in the custom dialog? Can you explain please?
Here is my custom dialog:

Function do_something

!insertmacro MUI_HEADER_TEXT $(title) $(sub_title)

nsDialogs::Create 1018

${If} $Dialog == error
Pop $R0
Abort
${Endif}


${NSD_CreateRadioButton} 0 13u 100% 13u $(option_1)
Pop $hwnd
${NSD_OnClick} $hwnd On_Option_1

${NSD_Check} $hwnd


${NSD_CreateRadioButton} 0 26u 100% 13u $(option_2)
Pop $hwnd
${NSD_OnClick} $hwnd On_Option_2

nsDialogs::Show

FunctionEnd


err.. -that- would be a good question... I think you'd have to resize quite a few things? MUI already line-wraps:
http://img521.imageshack.us/img521/3...loremipsum.png
So you'd have to make the entire header bigger.

Perhaps re-think your subtitle so that it's a bit more concise, and place all the more detailed information on the custom page itself?