Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2009
    Posts
    9
    Vote Rating
    0
    marc.spoor is on a distinguished road

      0  

    Default [DEFER-1223] Nested layouts don't render inner layout if not initially visible

    [DEFER-1223] Nested layouts don't render inner layout if not initially visible


    A panel with border layout contains a panel with form layout which contains a panel with vbox layout which contains a button.
    The border layout panel is configured such that the form layout panel is initially collapsed.
    Therefore, the button will not be rendered.
    If the panel with form layout is initially expanded everything works fine.

    This has been seen in 3.2.1.
    The JSON was generated with Ext Designer.

    Code:
    {
        xtype: 'viewport',
        width: 406,
        layout: 'border',
        items: [
            {
                xtype: 'panel',
                region: 'north',
                layout: 'form',
                height: 55,
                collapsed: true, // <-- set it to false and it works
                items: [
                    {
                        xtype: 'panel',
                        layout: 'vbox',
                        height: 50,
                        items: [
                            {
                                xtype: 'button',
                                text: 'cannot be seen',
                                flex: 1
                            }
                        ]
                    }
                ]
            },
            {
                xtype: 'panel',
                region: 'center'
            }
        ]
    }
    I have found two previous forum entries/bug reports that may or may not refer to that same issue:
    I was hoping a slight modification of the API documentation page would reproduce that same effect, but that page uses existing markup and "converts" it to Ext controls. Unfortunately, this is not possible in my case.

    Cheers,

    -Marc

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This is a current limitation that we are addressing in the next release.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Posts
    9
    Vote Rating
    0
    marc.spoor is on a distinguished road

      0  

    Default


    Okay, thanks for your reply.
    I'll keep my eyes peeled.

  4. #4
    Sencha User
    Join Date
    Dec 2009
    Posts
    9
    Vote Rating
    0
    marc.spoor is on a distinguished road

      0  

    Default same in ext-3.3.0

    same in ext-3.3.0


    I just tested it with ext-3.3.0, and the problem still occurs.

    EDIT: The problem occurs in Chrome, but not in IE8.
    Last edited by marc.spoor; 12 Oct 2010 at 2:31 PM. Reason: typo

Similar Threads

  1. Replies: 5
    Last Post: 30 Jun 2010, 11:53 PM
  2. [Fixed] Layout Problem->Nested border layouts: IE8
    By zhegwood in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 11 Mar 2010, 1:04 PM
  3. Replies: 4
    Last Post: 26 Dec 2009, 8:43 AM
  4. [SOLVED]Accordion layout nested in other layouts issue
    By ThomasGra in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Aug 2009, 1:34 AM
  5. Layout/Nested Layouts Best Practices?
    By leathekd in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 2 Jan 2007, 10:26 AM

Thread Participants: 1

Tags for this Thread