[CLOSED] Collapsed panel with border layout can't expand

  1. #1

    [CLOSED] Collapsed panel with border layout can't expand

    This sample panel can't expand. Is something wrong in blow code?

    <ext:Viewport runat="server" Layout="Fit">
        <Items>
            <ext:Panel runat="server" OverflowY="Auto">
                <Items>
                    <ext:Panel runat="server" Title="Sample Panel" Collapsible="True" Collapsed="True"
                        Floatable="False" Layout="BorderLayout" TitleCollapse="True" OverflowY="Auto">
                        <Items>
                            <ext:Panel runat="server" Region="West">
                                <Items>
                                    <ext:Label runat="server" Text="West">
                                    </ext:Label>
                                </Items>
                            </ext:Panel>
                            <ext:Panel runat="server" Region="Center">
                                <Items>
                                    <ext:Label runat="server" Text="Center">
                                    </ext:Label>
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Viewport>
    Last edited by Daniil; Jul 16, 2014 at 12:27 PM. Reason: [CLOSED]
  2. #2
    Hi @Webezi,

    You might need to set up some Height for the Panel with a BorderLayout. It cannot calculate its height automatically, therefore layouting fails.

    Also you should set some Width of Flex for the West region.
  3. #3
    It works, thank you.

Similar Threads

  1. [CLOSED] Expand collapsed panel
    By uniway in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jan 15, 2013, 1:41 PM
  2. Replies: 1
    Last Post: Mar 13, 2012, 8:37 AM
  3. Collapsed border layout Region
    By rajputamit in forum 1.x Help
    Replies: 1
    Last Post: Oct 30, 2010, 4:02 PM
  4. Border Layout not getting collapsed
    By vivekrane1986 in forum 1.x Help
    Replies: 0
    Last Post: Jun 05, 2010, 6:23 AM
  5. How to Expand the collapsed panel from java script
    By ajaybabu.maddinani in forum 1.x Help
    Replies: 4
    Last Post: Mar 12, 2010, 2:42 AM

Tags for this Thread

Posting Permissions