开发者

How can I insert a newline in a localized value for a String in a .wxl file?

I'm using a .wxl file to customize the text in the various dialogs in WixUI_FeatureTree. How can I insert a newline?

This doesn't work:

<WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization">
  <String Id="WelcomeDlgTitle">{\WixUI_Font_Bigger}Welcome to the Setup Wizard for\r\n[ProductNam开发者_JAVA技巧e]</String>
</WixLocalization>

If I try that, I get "\r\n" in the text in the dialog.


I don't have experience of this particular use but you might be able to use entities, e.g.

First Line&#13;&#10;Second Line


This is what worked for me on WIX 3.5:

First Line&#xD;&#xA;&#x9;Second Line
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜