2 * Component layout for tabs
3 * @class Ext.layout.component.Tab
4 * @extends Ext.layout.component.Button
7 Ext.define('Ext.layout.component.Tab', {
11 extend: 'Ext.layout.component.Button',
15 beforeLayout: function() {
16 var me = this, dirty = me.lastClosable !== me.owner.closable;
22 return this.callParent(arguments) || dirty;
25 onLayout: function () {
28 me.callParent(arguments);
30 me.lastClosable = me.owner.closable;