Open GoogleCodeExporter opened 8 years ago
Your code throws an exception since you use the grid. Following code is simpler
and
reproduces the problem:
===
public class Test implements EntryPoint {
public void onModuleLoad() {
Panel borderPanel = new Panel();
borderPanel.setLayout(new BorderLayout());
Panel westPanel = new Panel();
westPanel.setTitle("West");
westPanel.setCollapsible(true);
westPanel.setWidth(200);
BorderLayoutData westData = new BorderLayoutData(RegionPosition.WEST);
westData.setSplit(true);
borderPanel.add(westPanel, westData);
Panel centerPanel = new Panel();
centerPanel.setHtml("<p>center panel</p>");
borderPanel.add(centerPanel,new BorderLayoutData(RegionPosition.CENTER));
Viewport viewport = new Viewport(borderPanel);
}
}
===
- Ext 2.0.2
- GWT-Ext 2.0.4
Its working on IE but not on FF3. The browser has to resized once and then it
works
perfectly.
> Appending Ext.EventManager.fireResize() to the onLoad of the body tag seems
to do the trick.
Ext.EventManager.fireResize() does not work with the API. Could you please post
some
working code? I know, its about sending a resize event manually, how to do that?
Original comment by jov...@gmail.com
on 10 Jul 2008 at 8:29
I modified the relevant HTML file to look like:
<body onload="Ext.EventManager.fireResize()">
Unfortunately I can not contribute code without advance pemission from my
corporation's legal department. :)
Original comment by theocharis.athanasakis@gmail.com
on 10 Jul 2008 at 8:49
how can i add more than two panels in center Panel or other Panels.also how
will be
add buttons,images on that panels.then how will be add panel within panel at
run time.
Original comment by malathym...@gmail.com
on 30 Jul 2008 at 6:20
Original issue reported on code.google.com by
theocharis.athanasakis@gmail.com
on 9 Jul 2008 at 5:55