Suppose I have

Container c = new Container();
c.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
c.setScrollableY(true);

and the container is a certain height and takes up some %age of the screen.

Normally if I add stuff

c.add(new Label("B");
c.add(new Label("C");

the "A" is at the top row of the container and "B" under "A" etc as you add 
more, eventually there will be a scrollbar and you can scroll down with 
items always added at the bottom. What I'd like to do is when I add "A", 
have it displayed at the bottom visible row of the container, then when I 
add "B", "A" moves up, and "B" is now at the bottom, so as you keep adding 
things, they are always added/displayed on the bottom row of the container, 
and things eventually scroll off the top.

Is that doable ?

-- 
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/58c7e991-5ec3-4adb-903d-b37f429492ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to