1

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);
Pat
  • 1,193
  • 1
  • 11
  • 36

1 Answers1

1

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.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65
  • That's quite unfortunate, as the project requirements are that it be done in LWUIT.. :/ Thank you for the clarification Shai. Now I know not to waste any more time trying to fix it.. – Pat Nov 29 '13 at 08:30
  • Codename One is the unofficial successor of LWUIT so there is really no reason to use LWUIT. Since Chen and myself wrote LWUIT and are now writing Codename One I doubt the requirements make much sense. – Shai Almog Nov 29 '13 at 10:54
  • The application I'm making will be integrated into a larger one by another company. And they use LWUIT. We tried convincing them to move to Codename one, but they refused.. – Pat Nov 29 '13 at 12:18
  • Too bad, they should probably talk to us about that – Shai Almog Nov 30 '13 at 08:46