2 Attachment(s)
IE7 diffrent result when adding a contentpanel to a horizontallayout
Required Information
Version(s) of Ext GWT
3.0.0b
Browser versions and OS(and desktop environment, if applicable)- Internet Explorer 9 in IE7 mode, Windows 7
Virtual Machine
No
Description
See the screenshots.
Run mode
both
Steps to reproduce the problem
Continue reading
Expected result
Attachment 37179
Actual result
Attachment 37180
Test case
Code:
public class main implements EntryPoint {
public void onModuleLoad() {
Viewport port = new Viewport();
ContentPanel panel = new ContentPanel();
panel.setHeaderVisible(false);
panel.setCollapsible(true);
HorizontalLayoutContainer c = new HorizontalLayoutContainer();
panel.setWidget(c);
ContentPanel contentPanel = new ContentPanel();
contentPanel.setHeadingHtml("first panel");
c.add(contentPanel, new HorizontalLayoutData(-1, 1, new Margins(4)));
c.add(new Label("Test Label 2"), new HorizontalLayoutData(1, 1, new Margins(4, 0, 4, 0)));
c.add(new Label("Test Label 3"), new HorizontalLayoutData(-1, 1, new Margins(4)));
port.add(panel, new MarginData(0));
RootPanel.get().add(port);
}
}
Possible fix
«Not provided»