使用3.5,我只想在我的文本元素中使用换行符:
<Dialog><Control><Text>
The [Wizard] will install [ProductName]
on your computer.
Click Next to continue or Cancel to exit the [Wizard].
</Text></Control>....
Run Code Online (Sandbox Code Playgroud)
这似乎没有插入新的行字符.我怎么能在那里获得一个换行?
谢谢.
遗憾的是,Windows Installer不支持静态文本控件中的换行符.在安装过程中,文本会根据控件和字体大小自动格式化.
但是,如果您真的想要换行,只需为下一行使用另一个静态文本控件.