开发者

LWUIT HtmlComponent Lines don't get wrapped + Parser Problem

开发者 https://www.devze.com 2023-03-14 09:24 出处:网络
I think I\'m facing a simple layout problem. I\'m embedding a HTMLComponent on a Form via LWUIT, this HTMLComponent

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.

0

精彩评论

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

关注公众号