PDA

View Full Version : [CLOSED] How to set Panel width like AutoHeight ?



gs_user
Apr 27, 2012, 3:21 AM
Hi,
I need to resize the panel width according to the screen resolution,
how to do ?



<ext:Panel ID="Panel24" runat="server" Title="" AutoScroll="True" AutoHeight="True" Layout="AutoLayout">
<Loader ID="Loader1" runat="server" Url="http://Ext.net" Mode="Frame" >
<LoadMask ShowMask="true" />
</Loader>
</ext:Panel>

Daniil
Apr 27, 2012, 10:27 AM
Hi,

What about to use Viewport?

Example

<ext:Viewport runat="server" Layout="FitLayout">
<Items>
<ext:Panel runat="server">

</ext:Panel>
</Items>
</ext:Viewport>