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);
有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top