EditLive! 9 Documentation : toolbarButtonGroup

This element will cause a particular group of buttons to be present on the toolbar within EditLive!. The buttons added by this element can only be added and removed from the toolbar as a group.

The operation of these buttons within EditLive! will be mutually exclusive. For example, the alignment buttons are a button group as Align Left cannot be activated at the same time as Align Right.

Configuration Element Tree Structure

<editLive>
<toolbars>
<toolbar>
<toolbarButtonGroup>

<editLive>
     ...
     <toolbars>
          <toolbar>
               <toolbarButtonGroup ... />
          </toolbar>
     </toolbars>
     ...
</editLive>

Required Attributes

name

This attribute gives the name for the button group. The Menu and Toolbar Item List details the available groups and the associated name attribute.

Example

The following example demonstrates how to add the alignment buttons to the Format Toolbar.

<editLive>
    ...
    <toolbars>
        <toolbar name="format">
            <toolbarButtonGroup name="Align" />
        </toolbar>
    </toolbars>
    ...
</editLive> 

Remarks

The <toolbarButtonGroup> element can appear multiple times within the <toolbar> elements.

The <toolbarButtonGroup> element must be a complete tag; it cannot contain a tag body. Therefore, the tag must be closed in the same line. See the example below:

<toolbarButtonGroup name=... />