开发者

Carriage Return Line Feed in MXML

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜