MXML 中的回车换行
我有这样一句话:
text="{selectedOrder.targetLocationName} 'crlf' {pickUpLocationHTML}"
有人知道如何使这项工作有效吗?
谢谢。
I have this line:
text="{selectedOrder.targetLocationName} 'crlf' {pickUpLocationHTML}"
Does anybody has an idea how to make this work?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您尝试过
\r\n
吗?\n
足以在 flash 中创建换行符(换行符是 unix 样式;\r\n
实际上会给你 2 个换行符,就像你有Windows 中的 \r\n\r\n
)。所以,也许你需要类似的东西(未经测试!):
Have you tried
\r\n
?\n
is enough to make a newline in flash though (newlines are unix style;\r\n
will actually give you the 2 newlines, like if you had\r\n\r\n
in Windows).So, perhaps you need something like (not tested!):