Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Hamburg, Germany
    Posts
    196
    Answers
    1
    Vote Rating
    7
    winkelmann will become famous soon enough

      0  

    Default Unanswered: Collapsing panel breaks in hbox layout?

    Unanswered: Collapsing panel breaks in hbox layout?


    Hi there,

    I'm having some strange problem with collapsing panels within hbox layout, I'm not sure if it's a but or if I'm simply doing something wrong. In the following example, I can't seem to get the collapsible panel to uncollapse, the header seems to stay the height it was before collapsing.

    Code:
    Ext.widget('window',{
                    title: 'test collapse',
                    width: 500,
                    height: 300,
                    layout: {
                        type: 'hbox',
                        align: 'stretch'
                    },
                    items: [{
                        title: 'should not collapse',
                        collapsible: true,
                        collapseDirection: 'left',
                        flex: 1
                    },{
                        title: 'test', 
                        flex: 1
                    }]
                }).show();
    Any help is appreciated
    Attached Images