Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
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
Web Application Starter Project - Windows Internet Explorer_2012-07-15_22-48-22.jpg
Actual result
Web Application Starter Project - Windows Internet Explorer_2012-07-15_22-49-25.jpg
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»