Skip to main content

scrolling examples?

1 reply [Last post]
Joined: 2011-08-10
Points: 0

I'm looking for common techniques or examples of proven patterns for implementing scrolling on forms with non-list components. A list component is a simple case becasue it has a selection and well defined concept of what is 'next' or 'previous;' however in complex screens with nested layout, this can be non obvious. Can anyone suggest a sample or a common techinique for implementing a scrollbar? This implementation of LWUIT does not seem to provide any functionality out-of-the-box.



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-07
Points: 0

The LWUIT browser demo shows that quite well, every HTMLComponent is really just a deeply nested layout of components.

Just set scrollable Y to true on a container (by default the Form's content pane is scrollable on Y axis) to get scrolling to work for any arbitrary screen of components seamlessly.