Question

In LWUIT, I have a form that has around 4 horizontal lists. The lists' horizontal scrolling words perfectly.

However, when I want to scroll vertically up and down the form, it just ends up scrolling horizontally whichever list where the swipe begins, even though I'm swiping up and down and not left and right.

Is there any way to fix this?

Edit: This is my layout for the form:

this.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
this.setScrollableY(true);
Était-ce utile?

La solution

This was a bug in LWUIT that wasn't designed for doing that, we fixed it in Codename One. Its not a trivial fix since we needed to refactor quite a lot of things.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top