Jun 10, 2010, 9:53 AM
[1.0]Hboxlayout in UserControl in Viewport can't auto dolayout/resize
Page:
UserControl:
HBoxLayout in UserControl Can not Resize with the window resize.
but HBoxLayout ouside UserControl can resize with the window resize.
anyone can help?
<ext:Viewport ID="Viewport1" runat="server">
<Items>
<ext:BorderLayout ID="BorderLayout1"
runat="server">
<Center>
<ext:FormPanel AutoScroll="true"
ID="FormPanelStockIn" LabelWidth="80" LabelAlign="Right"
runat="server" ButtonAlign="Right"
Height="185" Padding="5" Title="In" Width="300">
<Items>
<ext:Panel Border="false" ID="Panel_SC" runat="server" Header="false">
<Content>
<sipo:UserControl ID="SC" runat="server"></sipo:UserControl>
</Content>
UserControl:
<ext:FieldSet AutoDoLayout="true" AutoWidth="true" ID="FieldSet1" runat="server" Title="xxx" Collapsible="true" Layout="form">
<Items>
<ext:Panel ID="Panel6" AutoDoLayout="true" AutoWidth="true" Border="false" runat="server">
<Defaults>
<ext:Parameter Name="margins" Value="0 5 0 0" Mode="Value" />
</Defaults>
<Items>
<ext:HBoxLayout ID="HBoxLayout8" runat="server">
<BoxItems>
<ext:BoxItem Flex="1">
.....
HBoxLayout in UserControl Can not Resize with the window resize.
but HBoxLayout ouside UserControl can resize with the window resize.
anyone can help?