04-01-2011 12:48 PM
This makes the container visible...but now when I add things to the container, it doesn't actually put the items in the container. It just plops all the items ontop of eachother
04-01-2011 01:01 PM
Call setSize again on the container after you've put the elements into it and the elements will be arranged accordingly as long as they're set up properly.
setSize triggers the layout functions to arrange the elements within the size you set.
You can also try calling layout() on the container as well. It is supposed to position everything according to the docs, but in my experience, it doesn't work.