TabSheetSettings.AdditionalExpanderOffset

Syntax

AdditionalExpanderOffset: Number

Description

The AdditionalExpanderOffset property sets and gets value of the additional offset between the expander button and the text.

Comments

Use JSON or the setAdditionalExpanderOffset method to set the property value, and the getAdditionalExpanderOffset method to get the property value.

Default property value equals 2.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Set the value of additional offset between the expander and the text:

if (tabSheet.isLoaded()) {
    // Set additional values of offset between expander button and text
    tabSheet.setAdditionalExpanderOffset(35);
    // Refresh sheet contents
    tabSheet.update()
};

After executing the example an offset equal to 30 pixels is set between the expander button and the text:

See also:

TabSheetSettings