Required Information

Version(s) of Ext GWT
Ext GWT 3.0.1

Browser versions and OS
(and desktop environment, if applicable)
  • Internet Explorer 8, Windows 7
  • Chrome Version 23.0.1243.2 dev-m, Windows 7

Virtual Machine
No

Description
I create a FieldSet (using UIBinder or programatically) make it collapsible, add a ButtonBar to it then default it to collapsed. Run my application and navigate to the view that contains the field set. Expand the FieldSet, the ButtonBar and it's contents have not rendered visibly.

Run mode
Bug occurs in development mode and production mode.

Steps to reproduce the problem
  1. Create a project that has a view to display the provided FieldSetIssue as a widget.
  2. Start running in development mode in Eclipse
  3. Open app in browser
  4. See that the FieldSet header displays and the fieldset is collapsed.
  5. Expand the fieldset. See that the buttonBar contents that should be displaying is not visible.

Expected result
The buttonBar and it's contents would have been visible after expanding the fieldset.

Actual result
the ButtonBar is not visible

Test case
Code:
package com.issues.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.sencha.gxt.widget.core.client.FramedPanel;
import com.sencha.gxt.widget.core.client.button.ButtonBar;
import com.sencha.gxt.widget.core.client.button.TextButton;
import com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutPack;
import com.sencha.gxt.widget.core.client.form.FieldSet;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class GxtBugsExample implements EntryPoint {
	
	public void onModuleLoad() {
		final FramedPanel panel = new FramedPanel();
		final FieldSet fieldSet = new FieldSet();
		final ButtonBar buttonBar = new ButtonBar();
		
		panel.add(fieldSet);

		buttonBar.add(new TextButton("Button 1"));
		buttonBar.setPack(BoxLayoutPack.END);
		
		fieldSet.add(buttonBar);
		fieldSet.setHeadingText("A Field Set Heading");
		fieldSet.setCollapsible(true);
		fieldSet.collapse();
		
		RootPanel.get().add(panel);
	}
}
Helpful Information

Screenshot or video
Live test
« none »

Debugging already done
  • «none»

Possible fix
«Not provided»