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}"
精彩评论