Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    62
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default [CLOSED-350]CheckboxGroup creates nested Panels instead of nested Containers.

    [CLOSED-350]CheckboxGroup creates nested Panels instead of nested Containers.


    It's just an unnecessary complexity to use Panels instead of Containers.

    need:


    Code:
        onRender : function(ct, position){
            if(!this.el){
                var panelCfg = {
                    id: this.id,
                    autoEl: {
                        id: this.id
                    },
                    cls: this.groupCls,
                    layout: 'column',
                    border: false,
                    renderTo: ct,
                    bufferResize: false // Default this to false, since it doesn't really have a proper ownerCt.
                };
                var colCfg = {
                    xtype: 'container',
                    defaultType: this.defaultType,
                    layout: 'form',
                    border: false,
                    defaults: {
                        hideLabel: true,
                        anchor: '100%'
                    }
                };
    ...
                this.panel = new Ext.Container(panelCfg);
    ...

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    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


    Should lighten the markup. Fixed in svn 5634 for 3.1 release.

Thread Participants: 1