Sha256: c846577a5806dadcf003b74fe597e234c526026b6af9d88fac741c38cc011e86

Contents?: true

Size: 613 Bytes

Versions: 10

Compression:

Stored size: 613 Bytes

Contents

/**
 * Component layout for tabs
 * @private
 */
Ext.define('Ext.layout.component.Tab', {

    extend: 'Ext.layout.component.Button',
    alias: 'layout.tab',

    beginLayout: function(ownerContext) {
        var me = this,
            closable = me.owner.closable;

        // Changing the close button visibility causes our cached measurements to be wrong,
        // so we must convince our base class to re-cache those adjustments...
        if (me.lastClosable !== closable) {
            me.lastClosable = closable;
            me.clearTargetCache();
        }

        me.callParent(arguments);
    }
});

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/ext/ext-4.1.1a/src/layout/component/Tab.js
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/ext/ext-4.1.1a/src/layout/component/Tab.js
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/ext/ext-4.1.1a/src/layout/component/Tab.js
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/ext/ext-4.1.1a/src/layout/component/Tab.js
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/ext/ext-4.1.1a/src/layout/component/Tab.js
extjs-rails-4.1.0.alpha5 app/assets/javascripts/src/layout/component/Tab.js
extjs-rails-4.1.0.alpha4 app/assets/javascripts/extjs-rails/src/layout/component/Tab.js
extjs-rails-4.1.0.alpha3 app/assets/javascripts/extjs-rails/src/layout/component/Tab.js
extjs-rails-4.1.0.alpha2 app/assets/javascripts/extjs-rails/src/layout/component/Tab.js
extjs-rails-4.1.0.alpha1 app/assets/javascripts/extjs-rails/src/layout/component/Tab.js