Have you tried to use a normal container like a FlowPanel
, and put inside the boxes in an absolute position (have you played with css
?? Maybe is the best solution for your problem).
Then, you have inside the FlowPanel
your ScrollPanel
and inside it you can introduce whatever you want.
If the panel1
contains a lot of info, you can do it using GQuery
manually, in that way GWT won't know that the ScrollPanel
has more than one child (but this is a tricky nasty solution :D).
Hope it helps.