1. #1
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default [2.0a1][SOLVED] panel collapse animation in FF2.x

    [2.0a1][SOLVED] panel collapse animation in FF2.x


    Not a huge issue, but i think it is something that's funky.
    http://screencast.com/t/WfYTzsg2U3
    Code:
    PHP Code:
    ...
        
    showDialog : function(data){
                if(!
    dialog){ 
                    
    dialog = new Ext.Window({
                        
    el:                        'dlg_dnsInsertUpdate',
                        
    animateTarget:             'north',
                        
    layout:                    'fit',
                        
    width:                    390,
                        
    height:                    420,
                        
    shadow:                    true,
                        
    modal:                    false,
                        
    resizable:              false,
                        
    fixedcenter:             true,
                        
    constraintoviewport:     true,
                        
    proxyDrag:                 true,
                        
    collapsible:             true,
                        
    animCollapse:             true,
                        
    closeAction:            'hide',
                        
    plain:                     true,
                        
    animCollapse :             true,
                        
    constrain:                 true,
                        
    resizable:                 false,

                        
    buttons: [{
                            
    icon'img/toolbar/silk_icons/icons/stop.png',
                            
    cls:"x-btn-text-icon",
                            
    text'Close',
                            
    handler: function(){
                                
    dialog.hide();
                            }
                        }]
                    });                        

                    
    DLG_insertUpdate_form.buildForm();
                    
    //this.buildButtons();
                
    }
                if (
    formAction == 'update') {
                    
    DLG_insertUpdate_form.setValues(data);
                }
                
                if (
    dialog) {
                    
    dialog.expand(true);
                }
                
    dialog.show();
                
    //this.resetForm();
            
    },
            
    hideDialog : function () {
                if (
    dialog) {
                    
    dialog.hide();
                }
            },
            
    buildForm : function () {
                
                if (! 
    inputFormPanel) {
                    
    //Ext.example.msg('Insert/Update Record', '{0}', 'BuildForm');
                    /* HostName Query */
                    
    inputFormPanel = new Ext.form.FormPanel({
                        
    labelAlign'right',
                        
    method'GET',
                        
    url'dnsmanager.php',
                        
    labelWidth80,
                        
    frametrue
                    
    });
                
                    
    inputFormPanel.add(
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Host ID',
                            
    id'hostid',
                            
    name'hostid',
                            
    width240,
                            
    readOnlytrue
                        
    }),                          
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Host Name',
                            
    id'hostname',
                            
    name'hostname',
                            
    vtype'hostname',
                            
    allowBlankfalse,
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        new 
    Ext.form.TextField({
                            
    fieldLabel'IP Address',
                            
    id'ipaddress',
                            
    name'ipaddress',
                            
    vtype'ip',
                            
    allowBlankfalse,
                            
    width240,
                            
    readOnlytrue
                        
    }),
                
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Alias 1',
                            
    id'alias_1',
                            
    name'alias_1',
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Alias 2',
                            
    id'alias_2',
                            
    name'alias_2',
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Alias 3',
                            
    id'alias_3',
                            
    name'alias_3',
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Alias 4',
                            
    id'alias_4',
                            
    name'alias_4',
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Class',
                            
    id'class_mar',
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Brand',
                            
    id'brand',
                            
    width240,
                            
    readOnlytrue
                        
    }),
                        new 
    Ext.form.TextField({
                            
    fieldLabel'Domain',
                            
    id'domain',
                            
    width240,
                            
    readOnlytrue
                        
    }),                    
                        new 
    Ext.form.TextArea({
                            
    fieldLabel'Comment',
                            
    id:'comment',
                            
    width:240,
                            
    growfalse,
                            
    allowBlankfalse,
                            
    height:75,
                            
    readOnlytrue
                        
    })
                
                    );
                    
    inputFormPanel.on('actioncomplete'this.formCompletethis);
                    
    inputFormPanel.render('frmDNSInsertUpdate');
                }
            },
    ... 

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    The screencast link doesn't work. Also, please provide details such as platform and browser version. Thanks!
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Hi Jack,

    The issue in FF2, i've uploaded it to my site, which has no limits.

    http://tdg-i.com/img/extjs/roll_up.swf

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Try the latest svn css. Somewhere you need a zoom:1. I added a few for fieldset and x-plain panels, that may do it.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  5. #5
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Thanks jack.

    do you ever sleep?

  6. #6
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Big deadlines coming up.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 1