/** * @class Ext.toolbar.Separator * @extends Ext.toolbar.Item * A simple class that adds a vertical separator bar between toolbar items * (css class:'xtb-sep'). Example usage: ** @constructor * Creates a new Separator * @xtype tbseparator */ Ext.define('Ext.toolbar.Separator', { extend: 'Ext.toolbar.Item', alias: 'widget.tbseparator', cls: Ext.baseCSSPrefix + 'toolbar-separator' });new Ext.panel.Panel({ tbar : [ 'Item 1', {xtype: 'tbseparator'}, // or '-' 'Item 2' ] });