We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

Talk:NsDialogs CreateTextMultiline

From NSIS Wiki
Jump to navigationJump to search

If you are using the multiline textbox to display a license file you may need to edit the nsDialogs_createTextMultiline.nsh to allow the textbox to wrap the text.

Replace:

!define __NSD_TextMultiline_STYLE ${DEFAULT_STYLES}|${WS_VSCROLL}|${WS_TABSTOP}|${ES_AUTOHSCROLL}|${ES_MULTILINE}|${ES_WANTRETURN}

With:

!define __NSD_TextMultiline_STYLE ${DEFAULT_STYLES}|${WS_VSCROLL}|${WS_TABSTOP}|${ES_MULTILINE}|${ES_WANTRETURN}

Also, I don't know why you'd set ES_AUTOHSCROLL without setting WS_HSCROLL, so you can see the horizontal scrollbar.