from flying through the source code of the HTMLComponent, the method for creating a line break in a Form filled with labels the proper method is embedding the labels in a container and the newline actually creates a new container. Is this the proper way to do it?
So: 开发者_运维知识库
Container |Label Label |Label Label |Label |LabelContainer:
|Label |LabelFlow layout can and should perform its own line breaks on entered text. The reason the HTML component does this manually is to provide it with even more fine grained control over layout.
Generally you need to see why HTMLComponent doesn't wrap lines for you, you need to look in the LWUITBrowser demo and the LWUITDemo both of which line wrap properly and see what you did differently.
精彩评论