/** * A non-rendering placeholder item which instructs the Toolbar's Layout to begin using * the right-justified button container. * * @example * Ext.create('Ext.panel.Panel', { * title: 'Toolbar Fill Example', * width: 300, * height: 200, * tbar : [ * 'Item 1', * { xtype: 'tbfill' }, * 'Item 2' * ], * renderTo: Ext.getBody() * }); */Ext.define('Ext.toolbar.Fill', { extend: 'Ext.Component', alias: 'widget.tbfill', alternateClassName: 'Ext.Toolbar.Fill', // Toolbar required here because we'll try to decorate it's alternateClassName // with this class' alternate name requires: ['Ext.toolbar.Toolbar'], ariaRole: 'presentation', /** * @property {Boolean} isFill * `true` in this class to identify an object as an instantiated Fill, or subclass thereof. */ isFill: true, flex: 1});