X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Toolbar.html diff --git a/docs/source/Toolbar.html b/docs/source/Toolbar.html index 41447c25..9a726ce0 100644 --- a/docs/source/Toolbar.html +++ b/docs/source/Toolbar.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.toolbar.Toolbar
* @extends Ext.container.Container
@@ -17,7 +34,7 @@ __Some items have shortcut strings for creation:__
{@img Ext.toolbar.Toolbar/Ext.toolbar.Toolbar1.png Toolbar component}
Example usage:
- Ext.create('Ext.toolbar.Toolbar", {
+ Ext.create('Ext.toolbar.Toolbar', {
renderTo: document.body,
width : 500,
items: [
@@ -190,7 +207,6 @@ Example usage:
* @constructor
* Creates a new Toolbar
* @param {Object/Array} config A config object or an array of buttons to <code>{@link #add}</code>
- * @xtype toolbar
* @docauthor Robert Dougan <rob@sencha.com>
* @markdown
*/
@@ -214,14 +230,14 @@ Ext.define('Ext.toolbar.Toolbar', {
defaultType: 'button',
- /**
+ /**
* @cfg {Boolean} vertical
* Set to `true` to make the toolbar vertical. The layout will become a `vbox`.
* (defaults to `false`)
*/
vertical: false,
- /**
+ /**
* @cfg {String/Object} layout
* This class assigns a default layout (<code>layout:'<b>hbox</b>'</code>).
* Developers <i>may</i> override this configuration option if another layout
@@ -230,7 +246,7 @@ Ext.define('Ext.toolbar.Toolbar', {
* See {@link Ext.container.Container#layout} for additional information.
*/
- /**
+ /**
* @cfg {Boolean} enableOverflow
* Defaults to false. Configure <code>true</code> to make the toolbar provide a button
* which activates a dropdown Menu to show items which overflow the Toolbar's width.
@@ -259,7 +275,8 @@ Ext.define('Ext.toolbar.Toolbar', {
type: me.layout
} : me.layout || {}, {
type: me.vertical ? 'vbox' : 'hbox',
- align: me.vertical ? 'stretchmax' : 'middle'
+ align: me.vertical ? 'stretchmax' : 'middle',
+ clearInnerCtOnLayout: true
});
if (me.vertical) {
@@ -273,7 +290,7 @@ Ext.define('Ext.toolbar.Toolbar', {
me.callParent();
- /**
+ /**
* @event overflowchange
* Fires after the overflow state has changed.
* @param {Object} c The Container
@@ -288,7 +305,7 @@ Ext.define('Ext.toolbar.Toolbar', {
});
},
- /**
+ /**
* <p>Adds element(s) to the toolbar -- this function takes a variable number of
* arguments of mixed type and adds them to the toolbar.</p>
* <br><p><b>Note</b>: See the notes within {@link Ext.container.Container#add}.</p>
@@ -414,4 +431,6 @@ Ext.define('Ext.toolbar.Toolbar', {
' ' : 'tbspacer',
'->': 'tbfill'
};
-});
\ No newline at end of file
+});
+
+