LWUIT HtmlComponent Lines don't get wrapped + Parser Problem
I think I'm facing a simple layout problem.
I'm embedding a HTMLComponent
on a Form via LWUIT, this HTMLComponent
displays a local HTML file. The result has no line wrapping but endless
scrolling in X direction.
How can I change this behaviour?
I also have some tags in the files which aren't really supported.
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><doc><head><title>
How can I still parse the files, without removing those tags manually?
Do I need to modify m开发者_如何学Cy DocumentRequestHandler
or where can I do that?
Best Regards
For the line warpping, please check if any specific "width" is defined in you local HTML (or CSS) file. For example, if the width is given as "600" pixels and the screen is less than "600" then scrolling may appear. So either remove the specific width or change it to "100%".
Hope this helps.
精彩评论