开发者

Carriage Return Line Feed in MXML

开发者 https://www.devze.com 2023-01-21 09:51 出处:网络
I have this line: text=\"{selectedOrder.targetLocationName} \'crlf\' {pickUpLocationHTML}\" Does anybody has an idea how to make this w开发者_运维百科ork?

I have this line:

text="{selectedOrder.targetLocationName} 'crlf' {pickUpLocationHTML}"

Does anybody has an idea how to make this w开发者_运维百科ork?

Thank you.


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!):

text="{selectedOrder.targetLocationName}\n{pickUpLocationHTML}"
0

精彩评论

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

关注公众号