Properties Methods Events Direct Link

    Toolbar.Item
      Toolbar.Spacer
        Toolbar.Fill

# Class Ext.Toolbar.Fill

Package: | Ext
Defined In: | Toolbar.js
Class: | Toolbar.Fill
Extends: | Toolbar.Spacer

A simple element that adds a greedy (100% width) horizontal space between items in a toolbar.

    new Ext.Panel({
    	tbar : [
    		'Item 1',
    		{xtype: 'tbfill'}, // or '->'
    		'Item 2'
    	]
    });

## Public Properties

This class has no public properties.

## Public Methods

Method | Defined By
--- | ---
| Toolbar.Fill() Creates a new Spacer Creates a new Spacer Parameters: None. Returns: `` | Toolbar.Fill
| destroy() : void Removes and destroys this item. Removes and destroys this item. Parameters: None. Returns: `void` | Toolbar.Item
| disable() : void Disables this item. Disables this item. Parameters: None. Returns: `void` | Toolbar.Item
| enable() : void Enables this item. Enables this item. Parameters: None. Returns: `void` | Toolbar.Item
| focus() : void Try to focus this item Try to focus this item Parameters: None. Returns: `void` | Toolbar.Item
| getEl() : HTMLElement Get this item's HTML Element Get this item's HTML Element Parameters: None. Returns: `HTMLElement` | Toolbar.Item
| hide() : void Hides this item. Hides this item. Parameters: None. Returns: `void` | Toolbar.Item
| setVisible( `Boolean visible` ) : void Convenience function for boolean show/hide. Convenience function for boolean show/hide. Parameters: `visible` : Boolean true to show/false to hide Returns: `void` | Toolbar.Item
| show() : void Shows this item. Shows this item. Parameters: None. Returns: `void` | Toolbar.Item

## Public Events

This class has no public events.