Nico
unread,Aug 24, 2010, 11:48:34 AM8/24/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-mosaic
Hello all,
I currently have to use the new version of GWT Mosaïc and I don't
uderstand how works now the BoxLayout!
Indeed, in my previous project I used an old version (0.3.0) and I was
able to center all components I want with this kind of code :
LayoutPanel myPanel = new LayoutPanel(new
BoxLayout(Orientation.VERTICAL, Alignment.CENTER));
myPanel.add(myOtherPanel, new BoxLayoutData(0.5d, 0.2d));
Now, I replace the second line by
myPanel.add(myOtherPanel, new BoxLayoutData("50%", "20%"));
But nothing is centered...
Are there new files to integrate in gwt.xml file? Must I change the
kind of Layout?