Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2009
    Posts
    80
    Vote Rating
    0
    squ3lch is on a distinguished road

      0  

    Default [FIXED-773][3.2.0-6355] CompositeField on hidden panel

    [FIXED-773][3.2.0-6355] CompositeField on hidden panel


    Ext version tested:
    • Ext 3.2.0-6355


    Adapter used:
    • ext
    • prototype


    css used:
    • only default ext-all.css




    Browser versions tested against:
    • IE7
    • FF3


    Operating System:
    • WinXP Pro


    Description:
    • A composite field in a hidden panel (such as the second card in a card layout) will render in Firefox3 but not in IE7.


    Test Case:

    Code:
    Ext.onReady(function(){
    
         var cardNav = function(incr){
             var l = Ext.getCmp('card-wizard-panel').getLayout();
             var i = l.activeItem.id.split('card-')[1];
             var next = parseInt(i) + incr;
             l.setActiveItem(next);
             Ext.getCmp('card-prev').setDisabled(next==0);
             Ext.getCmp('card-next').setDisabled(next==2);
         };
    
         var f1 = new Ext.form.CompositeField({
                        labelWidth:50,
                        fieldLabel:'f1',
                        items:[
                             c1 = new Ext.form.ComboBox({
                                  width:75,
                                  store: ['1','2','3'],
                                  typeAhead: false,
                                  editable:false,
                                  triggerAction:'all',
                                  mode: 'local',
                                  value:'1'
                             }),
                             t1 = new Ext.form.TextField({
                                  width:150
                             })
                        ]
                   });
    
         var t2 = new Ext.form.TextField({
              width:150
         });
    
         var cardWizard = {
             id:'card-wizard-panel',
             title: 'Card Layout (Wizard)',
             layout:'card',
             activeItem: 0,
             bodyStyle: 'padding:15px',
             defaults: {border:false},
             bbar: ['->', {
                 id: 'card-prev',
                 text: '« Previous',
                 handler: cardNav.createDelegate(this, [-1]),
                 disabled: true
             },{
                 id: 'card-next',
                 text: 'Next »',
                 handler: cardNav.createDelegate(this, [1])
             }],
             items: [{
                 id: 'card-0',
                 html: '<h1>Welcome to the Demo Wizard!</h1><p>Step 1 of 3</p><p>Please click the "Next" button to continue...</p>'
             },{
                 id: 'card-1',
                 layout:'form',
                 items:[
                   f1,
                   t2
                 ]
             },{
                 id: 'card-2',
                 html: '<h1>Congratulations!</h1><p>Step 3 of 3 - Complete</p>'
             }]
         };
    
        var mainWindow = new Ext.Viewport({
            layout:'absolute',
            defaults:{x:10,y:5,anchor:"-10 -10",plain:true},
            items:[
                   cardWizard
            ]
        });
    
        mainWindow.doLayout();
    
    });

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


    [type]: fix
    [module]: BoxLayout
    [id]: #773
    [desc]: Fixes #773. BoxLayout innerCt measurements of zero height or width will now be passed through to setSize as undefined.

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2009
    Posts
    80
    Vote Rating
    0
    squ3lch is on a distinguished road

      0  

    Default


    Works beautifully; thanks.

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    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


    Good to hear.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar