X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/src/toolbar/Spacer.js diff --git a/src/toolbar/Spacer.js b/src/toolbar/Spacer.js index 48e0b7fc..21c0573e 100644 --- a/src/toolbar/Spacer.js +++ b/src/toolbar/Spacer.js @@ -13,34 +13,30 @@ If you are unsure which license is appropriate for your use, please contact the */ /** - * @class Ext.toolbar.Spacer - * @extends Ext.toolbar.Item * A simple element that adds extra horizontal space between items in a toolbar. - * By default a 2px wide space is added via css specification: + * By default a 2px wide space is added via CSS specification: * * .x-toolbar .x-toolbar-spacer { - * width:2px; + * width: 2px; * } * - * ## Example - * - * {@img Ext.toolbar.Spacer/Ext.toolbar.Spacer.png Toolbar Spacer} + * Example: * + * @example * Ext.create('Ext.panel.Panel', { * title: 'Toolbar Spacer Example', * width: 300, * height: 200, * tbar : [ * 'Item 1', - * {xtype: 'tbspacer'}, // or ' ' + * { xtype: 'tbspacer' }, // or ' ' * 'Item 2', * // space width is also configurable via javascript - * {xtype: 'tbspacer', width: 50}, // add a 50px space + * { xtype: 'tbspacer', width: 50 }, // add a 50px space * 'Item 3' * ], * renderTo: Ext.getBody() - * }); - * + * }); */ Ext.define('Ext.toolbar.Spacer', { extend: 'Ext.Component',