Hybrid View
-
15 Jul 2012 12:54 PM #1
IE7 diffrent result when adding a contentpanel to a horizontallayout
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
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
Possible fixCode: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); } }
«Not provided»
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote