Results 1 to 3 of 3

Thread: buttons disapear in tabpanel

  1. #1

    Default buttons disapear in tabpanel

    Hi,

    I have this tabpanel. On the first panel I have put buttons in the nested panel.
    At the first sight it looks fine, but when I switch to different panels and then switch back, the buttons disapear in IE, but not in firefox.

    (the layout is a little complicated. I am afraid pasting the code here will make it even harder to read.)

    I have no idea what is wrong with it. Hope anyone can figure it out?

    Thank you in advance.

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    do you have layoutOnTabChange : tru on your tab panel?

  3. #3

    Default

    I turn it on. No, it is not that.

    I put the following nested panel in another and then in the tabpanel.
    Code:
    items: ...
    {
            layout: 'column',
            border: false,
            items: [
                {
                    width: 610,
                    layout: 'form',
                    labelAlign: 'right',
                    labelWidth: 80,
                    items: [
                    {
                        xtype: 'textarea',
                        fieldLabel: 'XXX',
                        name: 'YYJS',
                        id: 'tbYYJS',
                        height: 80,
                        width: 515,
                        allowBlank: false
                    }
                    ]
                }, {
                    height: 80,
                    width: 35,
                    layout: 'border',
                    border: false,
                    items: [
                    {
                        region: 'center',
                        border: false
                    },
                    {
                        height: 20,
                        region: 'south',
                        border: false,
                        id: 'btnYYJS',
                        items: [{
                            xtype: 'button',
                            text: '',
                            listeners: { click: function() { template_YYJS_win.show(); } }}]
                        }
                ]
                }
                ]
        }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •