SmartGwt apps have display issues in Firefox 18.
See the showcase:
http://www.smartclient.com/smartgwt/showcase/
See the showcase:
http://www.smartclient.com/smartgwt/showcase/
ToolStrip toolStrip = new ToolStrip(); toolStrip.setWidth100(); { ToolStripButton buttonSelectAll = new ToolStripButton( "Select all" ); buttonSelectAll.setIcon( "icons/32x32/selectAll.png" ); buttonSelectAll.addClickHandler( new ClickHandler() { public void onClick( ClickEvent event ) { listGrid.selectAllRecords(); } } ); toolStrip.addButton( buttonSelectAll ); } { ToolStripButton buttonDeselectAll = new ToolStripButton( "Unselect all" ); buttonDeselectAll.setIcon( "icons/32x32/unselectAll.png" ); buttonDeselectAll.addClickHandler( new ClickHandler() { public void onClick( ClickEvent event ) { listGrid.deselectAllRecords(); } } ); toolStrip.addButton( buttonDeselectAll ); } { Label spacerLabel = new Label( "" ); spacerLabel.setWidth100(); toolStrip.addMember( spacerLabel ); } { ToolStripButton buttonCancel = new ToolStripButton( "Close" ); buttonCancel.setIcon( "icons/32x32/cancel.png" ); buttonCancel.addClickHandler( new ClickHandler() { public void onClick( ClickEvent event ) { closeWindow(); } } ); toolStrip.addButton( buttonCancel ); } { ToolStripButton buttonApply = new ToolStripButton( "Apply" ); buttonApply.setIcon( "icons/32x32/apply.png" ); buttonApply.addClickHandler( new ClickHandler() { public void onClick( ClickEvent event ) { addSelectedRecords(); closeWindow(); } } ); toolStrip.addButton( buttonApply ); } layout.setMembers( headlineStrip, listGrid, toolStrip );
Comment