The following code in SmartGWT EE 2 had a two buttons in a toolstrip with a button on the left and one on the right. We used a layout spacer with setWidth(“*”) to accomplish this. However when we upgraded from SmartGWT EE 2 to SmartGWT Power 2.1 the buttons where both left aligned thus the LayoutSpacer was essentially ignored.
ToolStrip headerLinks = new ToolStrip();
headerLinks.addMember(changeOfficeButton);
headerLinks.addMember(new ToolStripSeparator());
LayoutSpacer spacer = new LayoutSpacer();
spacer.setWidth("*");
headerLinks.addMember(spacerAfterChangeOffice);
headerLinks.addMember(new ToolStripSeparator());
HeaderLinkButton headerLingHelpButton = new HeaderLinkButton("Help");
headerLingHelpButton.addClickHandler(new ClickHandler() {
headerLinks.addMember(headerLingHelpButton);
Current version SmartGWT Power 2.1 SC_SNAPSHOT-2010-04-19/PowerEdition Deployment (built 2010-04-19), GWT 2.0.3, JDK 1.5,