2
votes

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 my DocumentRequestHandler or where can I do that?

Best Regards

1

1 Answers

0
votes

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.