I assign text to variables based on the selection. This is displayed fine, but the problem is when the section is not selected the MultiTextLine shows empty space.
If this is for the last line it is not as noticeable, if it is in the middle (TextVar2) that is mach more noticeable.
All variables are cleared before nsDialogs is created, StrCpy TextVar1 "" and so on.
If section 2 is not selected I get output such as:
Section 1Is there any other way of getting a summary of selected options? Initially I wanted to use NSD_CreateLabel but since not every time label will be displayed I could not find solution to move label locations if section is selected or not.
Section 3
Var MultiText
Function SummaryDetails
nsDialogs::Create 1018
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}
${NSD_CreateTextMultiline} 0u 0u 100% 130u "TextVar1$\r$\nTextVar2$\r$\n\
TextVar3$\r$\n"
Pop $MultiText
nsDialogs::Show
FunctionEnd