PDA

View Full Version : panel fit



miky1279
6 Mar 2008, 2:43 AM
Hi all,

I just dont know how to do to make a panel to fit its container :

let's declare an html div :
<div id="panelContainer" width="600px" height="500px">
<div id="myExtPanel"/>
</div>

if i use autoHeight and autoWidth property for my panel, my panel resize itself regarding its content.
But i'd like the panel to resize regarding the panel container.
Does someone how could i do ?

Thx all.