[1.0]Hboxlayout in UserControl in Viewport can't auto dolayout/resize

  1. #1

    [1.0]Hboxlayout in UserControl in Viewport can't auto dolayout/resize

    Page:
      <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?
  2. #2

    RE: [1.0]Hboxlayout in UserControl in Viewport can't auto dolayout/resize

    Hi,

    Wrap FieldSet by FitLayout and set fixed height for the Panel_SC

Similar Threads

  1. Replies: 0
    Last Post: Sep 26, 2011, 2:41 PM
  2. [CLOSED] Resize Region in ViewPort via client-script
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 24, 2011, 7:17 PM
  3. [CLOSED] Problem with Gridpanel and Viewport on browser resize
    By John_Writers in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 10, 2011, 10:44 AM
  4. Auto Resize Panel in ViewPort on client-side Panel.AutoLoad
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Dec 03, 2008, 3:27 PM
  5. [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 19, 2008, 12:13 AM

Posting Permissions