<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">>Sorry, but this is not what I would refer to as a minimal example. It >includes too many custom components. Please strip it down more: remove >dependencies for jquery, GroupTab and GroupTabPanel, and proj4js.</FONT></DIV><P><FONT size=2 face="Default Monospace,Courier New,Courier,monospace"></FONT> </P><P><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">References to jquery and proj4js can be deleted (not active in the fragment but used in the real one - just not deleted).</FONT></P><P><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">GroupTab and GroupTabPanel are more interesting. What they do in ensure that mapPanel is created etc but not immediately rendered. This seemed to be part of the problem. </FONT></P><FONT size=2 face="Default Monospace,Courier New,Courier,monospace"><SPAN style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class=Apple-style-span><PRE>Tom Baginski - did you also initially hide mapPanel or are you reproducing the problem without a it?</PRE><PRE>Your insight would be valuable here. Meanwhile I am seeing if there is another way to show problem.</PRE></SPAN><DIV><BR><BR>For other readers who may not have the reference to the other thread and the example we are talking about: <A href="http://www.geoext.org/pipermail/users/2010-May/000796.html" target=blank>http://www.geoext.org/pipermail/users/2010-May/000796.html</A><BR><BR><BR>Thanks,<BR>Andreas.<BR><BR>> <BR>> Andreas.<BR>> <BR>> On May 28, 2010, at 09:46 , Andreas Hocevar wrote:<BR>> <BR>>> Can you please share a minimal example that shows the issue? This will make it much easier to investigate the problem.<BR>>> <BR>>> Thanks,<BR>>> Andreas.<BR>>> <BR>>> On May 28, 2010, at 02:23 , Phil Scadden wrote:<BR>>> <BR>>>> I have actually made some progress in finding out what is going on but <BR>>>> still stumped. Here is the nub of the issue as far as I can see.<BR>>>> <BR>>>> Eventually, in both the case where using a treepanel or not, a GeoExt <BR>>>> callback on "afterlayout" results in a<BR>>>> call to OpenLayers Map Render.<BR>>>> In render you have:<BR>>>> <BR>>>> this.div.appendChild(this.viewPortDiv);<BR>>>> <BR>>>> In the application without treepanel, this results in the the GMap2 div <BR>>>> (a child of viewPortDiv) taking on the<BR>>>> same client width and hieght as div. When you bind mappanel to a <BR>>>> treepanel however, the GMap2 div remains with a client height and width <BR>>>> of zero. viewPortDiv however does change to fit the parent div.<BR>>>> <BR>>>> Now I just dont know enough about DOM to understand what difference I <BR>>>> should be looking for in viewPortDiv and its children that can allow <BR>>>> such a thing to happen. At first glance, viewPortDiv and the child GMap2 <BR>>>> div look the same but then there are a lot of properties. Can anyone <BR>>>> give me some hints please?<BR>>>> <BR>>>> <BR>>>> <BR>>>> -- <BR>>>> Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, <BR>>>> Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232<BR>>>> <BR>>>> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<BR>>>> <BR>>>> _______________________________________________<BR>>>> Users mailing list<BR>>>> Users@geoext.org<BR>>>> <A href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target=blank>http://www.geoext.org/cgi-bin/mailman/listinfo/users</A><BR>>> <BR>>> <BR>>> <BR>>> -- <BR>>> Andreas Hocevar<BR>>> OpenGeo - <A href="http://opengeo.org/" target=blank>http://opengeo.org/</A><BR>>> Expert service straight from the developers.<BR>>> <BR>>> _______________________________________________<BR>>> Users mailing list<BR>>> Users@geoext.org<BR>>> <A href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target=blank>http://www.geoext.org/cgi-bin/mailman/listinfo/users</A><BR>> <BR>> <BR>> <BR>> -- <BR>> Andreas Hocevar<BR>> OpenGeo - <A href="http://opengeo.org/" target=blank>http://opengeo.org/</A><BR>> Expert service straight from the developers.<BR>> <BR>> _______________________________________________<BR>> Users mailing list<BR>> Users@geoext.org<BR>> <A href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target=blank>http://www.geoext.org/cgi-bin/mailman/listinfo/users</A><BR><BR>-- <BR>Andreas Hocevar<BR>OpenGeo - <A href="http://opengeo.org/" target=blank>http://opengeo.org/</A><BR>Expert service straight from the developers.<BR><BR>_______________________________________________<BR>Users mailing list<BR>Users@geoext.org<BR><A href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target=blank>http://www.geoext.org/cgi-bin/mailman/listinfo/users</A><BR></DIV></FONT><BR></FONT><br /><span style="font-family:'Arial';font-size:8pt; color:#000000;">Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.</span></p><span style="font-family:'Arial';font-size:8pt; color:#000000;"> </span></p><br />