openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Dragging a scrollable Container smaller than scrollable area does show neither scrollbars nor shading #1400

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Unter Android when dragging a scrollable Container smaller than that of its 
available space then no scrollbars are shown and under Android Lollipop there 
is no highlighting to indicate scrolling beyond start/end.
Scrollbars and highlighting only starts to work when the Component gets larger 
than the surrounding space.

Original issue reported on code.google.com by Stefan.A...@gmail.com on 17 Mar 2015 at 12:00

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by shai.almog on 17 Mar 2015 at 5:48

GoogleCodeExporter commented 8 years ago
you can call:
containerList.setAlwaysTensile(true);
Which will show the scrollbars.

Changing implementation to show the glow seems like a very complex task, I 
don't think this fix worth the risk in changing code in this critical area.

I am leaving this open but lowering the priority.

Original comment by cf27...@gmail.com on 19 Mar 2015 at 12:42

GoogleCodeExporter commented 8 years ago
I set alwaysTensile to true. On a real device (Android 4.4) the scrollbars are 
not shown (for a list smaller its scrollable area).
In the simulator using the GoogleNexus7.skin it shows the scrollbar after 
release, which is too late.

Original comment by Stefan.A...@gmail.com on 19 Mar 2015 at 6:43