If you are experiencing an issue please mention the full platform your
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS
Have a simple table that a Button Action Event calls the following code.
Rectangle rect = table.getSelectedRect();
table.scrollRectToVisible(rect.getX(),
rect.getY(), rect.getWidth(), rect.getHeight(), this);
The Table contains 60+ rows.
Scroll Down and click to select row say 60
Then click the Button to force a scroll and the Page scrolls to the top
where 1/2 the top page is blank
See attached pic
In general, I use scrollRectToVisible when the user adds a new row in a
large list, we want to scroll to the bottom for example.
Regards.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/f4dba420-082a-49d5-9332-fd0e060f3236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.