Comment by dygger: rjrjr, thanks, I've just started studying GWT and looking for best practices to save time. I am playing with GWT starter application refactoring it to use UiBinder, runAsync and to follow MVP, Humble Dialog patterns etc.
One problem I found is that attributes of UiBinder-generated VerticalPanel are set at the end of panel construction: {{{ buttonClose.setText("Close2"); f_VerticalPanel2.add(buttonClose); f_VerticalPanel2.setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.ALIGN_RIGHT); f_TestDialogBox1.add(f_VerticalPanel2); }}} while to make it look as in original starter app, it there should be the way to call it before button "close" is added: {{{ dialogVPanel.setHorizontalAlignment(VerticalPanel.ALIGN_RIGHT); dialogVPanel.add(closeButton); }}} It there any way to get Close button right-aligned? For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---