Hello,
I have a DecpPanel containing a VerticalPanel that again contains 3 objects 
(see below). I want the objects to be aligned at the top as they does if I 
use a VerticalPanel. In this case the first object is placed at the top, 
the second in the middle and the third at the bottom.


DeckPanel dp = new DeckPanel();
dp.setSize("800px", "600px");

VerticalPanel vp = new VerticalPanel();

Button b1 = new Button("Button 1");
Button b2 = new Button("Button 2");
Button b3 = new Button("Button 3");

vp.add(b1);
vp.add(b2);
vp.add(b3);

dp.add(vp);

RootPanel.get().add(dp);

(I am just showing one deck here. I have of course more decks. That's the 
whole point )

How can I get these objects to be alligned from top. I appreciate any 
help. I am fairly new to GWT

Regards,
Jostein

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/gWzcQPepgDMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to