Wix Designer dialog welcome text

Add-in Express™ Support Service
That's what is more important than anything else

Wix Designer dialog welcome text
 
Cidtek


Guest


How do you insert line breaks in the text?
Posted 20 Oct, 2014 21:22:04 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Maurice,

Here's what the http://msdn.microsoft.com/en-us/library/windows/desktop/aa372076%28v=vs.85%29.aspx states regarding line breaks:

The recommended method for displaying text with specified line breaks is to use multiple one-line text controls located below each other. The character sequences \n, \r\n, or \n\r in the text field for the control are not displayed as a line break. These character sequences are literally displayed by the control.


But you can use CDATA inside of the Text element to format the text:

        <Control Id="CopyrightWarningText" Type="Text" X="9" Y="186" Width="354" Height="66" TabSkip="yes" NoPrefix="yes">
          <Text>
            <![CDATA[{VSI_MS_Sans_Serif13.0_0_0}WARNING:
This computer program is protected by copyright law and international
treaties. Unauthorized duplication or distribution of this program, 
or any portion of it, may result in severe civil or criminal penalties, 
and will be prosecuted to the maximum extent possible under the law.
          ]]>
          </Text>
        </Control>
Posted 21 Oct, 2014 03:52:53 Top