linuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacos
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
974 B
34 lines
974 B
9 years ago
|
/**
|
||
|
* 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',
|
||
|
// Toolbar required here because we'll try to decorate it's alternateClassName
|
||
|
// with this class' alternate name
|
||
|
requires: ['Ext.toolbar.Toolbar'],
|
||
|
alias: 'widget.tbfill',
|
||
|
alternateClassName: 'Ext.Toolbar.Fill',
|
||
|
|
||
|
ariaRole: 'presentation',
|
||
|
|
||
|
/**
|
||
|
* @property {Boolean} isFill
|
||
|
* `true` in this class to identify an object as an instantiated Fill, or subclass thereof.
|
||
|
*/
|
||
|
isFill : true,
|
||
|
flex: 1
|
||
|
});
|