<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Hi Marc,<br>
<br>
Yes you are right. MapPanel perfectly resized. But now I can not
do the same resize for the LayerTree panel. Container division
does not make the same effect to it.<br>
<br>
And another thing is I am trying to run a map.updateSize(); in
the "onresize" Javascript file. It does not make any map updates <br>
<br>
Regards<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">04.09.2014 14:17 tarihinde, Marc Jansen
yazdı:<br>
</div>
<blockquote cite="mid:54084A56.90402@terrestris.de" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Hey Ceyhun,<br>
<br>
if I remember correctly: yes.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
<br>
On 04.09.2014 13:05, Ceyhun Ganioglu wrote:<br>
</div>
<blockquote cite="mid:54084789.4090305@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<font face="Arial">Hey,<br>
<br>
So basicly, if I don't give any sizes to the Mappanel and
resize the container division onresize mappanel will
automatically resize. Right?<br>
<br>
Regards<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">04.09.2014 14:03 tarihinde, Marc
Jansen yazdı:<br>
</div>
<blockquote cite="mid:540846E5.1040205@terrestris.de"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hey,<br>
<br>
I think this is because you use absolute values for width
and height of the mappanel. When the browsers dimensions
change, your panels dimensions won't. If you have the
MapPanel in a layout that reacts on changes to the browser
dimensions, everything should work.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
On 04.09.2014 12:56, Ceyhun Ganioglu wrote:<br>
</div>
<blockquote cite="mid:54084565.7050509@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<font face="Arial">Hi Marc,<br>
<br>
Thanks for your email. Here is my code:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://tny.cz/d6cde4a2">http://tny.cz/d6cde4a2</a><br>
<br>
When I resize the browser mappanel size does not change
accordingly. That's why I am trying to do it with onresize
<br>
<br>
Many thanks<br>
<br>
</font>
<div class="moz-cite-prefix">04.09.2014 13:50 tarihinde,
Marc Jansen yazdı:<br>
</div>
<blockquote cite="mid:540843F1.8020906@terrestris.de"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hey Ceyhan,<br>
<br>
usually you don't need to update the size manually, as
GeoExt should register appropriate eventlisteners
already. Can you share code.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
On 03.09.2014 15:35, Ceyhun Ganioglu wrote:<br>
</div>
<blockquote
cite="mid:CAK8z=Wb0pjMHrT+JdfuD4D4c8rV9atDvEfUg+r3oS9j52QTxDQ@mail.gmail.com"
type="cite">
<p dir="ltr">Hi, </p>
<p dir="ltr">I am trying to change mappanel width and
height on resize of the browser and call
map.updateSize function</p>
<p dir="ltr">Can anybody send me a simple example piece
of code or tell me how to do it in a "for dummies"
way? Many thanks</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>