How to scroll past the last link in a HTMLComponent (LWUIT 1.5)?

270 views Asked by At

How can I scroll past the last link in a HTMLComponent? I am using LWUIT 1.5. Moreover if the link spans over multiple lines, it stops on the first line, so the whole link is not visible.

HTML file for testing: http://bit.ly/uJ8RbN

UPDATE: The issue is here http://java.net/jira/browse/LWUIT-487.

Any workaround tips before the issue gets resolved?

2

There are 2 answers

11
Shai Almog On

Scrolling past the last link works properly in our test cases although its always possible there is a bug in the HTMLComponent implementation. If you found such a case please file an issue in the lwuit issue tracker in the LWUIT website and include the HTML that triggered the problem. The same probably applies to the long links issue.

1
Ajibola On

A simple solution is to add an empty button to the end of the form, format the button to look like the background, without borders etc. This way after the HtmlComponent there is still a button that doesnt have focus but allows you scroll to the bottom.