X4 Produktdokumentation

<TabGroup>

The following attributes can be defined for the <BoxLayout> element:


Attribute

Description

background

Defines the background color.

This setting overwrites the default color of the color scheme!

Possible values:

  • Hexadecimal color value, e.g. ff5a00

    Do not use a hash in front of the color value! Do not use a shortened notation of the color value!


  • Color code from the color palette of the Web App (see  Theming), e.g. A200

closeDetail

Determines whether a detail structure item is closed when another tab is opened in the Master Component.

Possible values:

  • true

  • false (default)

description

Description text of the component. Displayed in each tab above the respective component.

  • Data binding possible

Possible values: Any string

fontFamily

Defines the font family.

  • This attribute overrides the default font of the Web App for this layout.

  • If the attribute is defined on an element, the font family is inherited by the element's child elements, unless the child elements have the fontFamily attribute explicitly set.


Possible values:

  • MainFont: Stored main font

  • Font code from the font palette, e.g. Font04

fontSize

Defines the font size.

  • This attribute overrides the default font size of the Web App for this layout.


Possible values:

  • Any integer or decimal number with a dot as decimal separator, e.g. 20 20.8 .9

  • Font size in pixels, e.g. 20px

  • Font size in points, e.g. 18pt

  • Font size compared to the font size of the parent element, e.g. .8em  oder  120%

  • Key words:  xx-Small x-small small medium large x-large xx-large smaller larger

fontStretch

Defines the width of the single characters.
This attribute overrides the default width of the characters for this layout.

Possible values:

  • Condensed

  • Expanded

  • ExtraCondensed

  • ExtraExpanded

  • Medium

  • Normal (default)

  • SemiCondensed

  • SemiExpanded

  • UltraCondensed

  • UltraExpanded

fontStyle

Defines the font inclination.
This attribute overrides the default inclination of the characters for this layout.

Possible values:

  • italic: italic characters

  • normal: normal characters (default)

  • oblique: italic characters (calculated)

fontWeight

Defines the font weight.
This attribute overrides the default weight of the characters for this layout.

Possible values:

  • Black

  • Bold

  • DemiBold

  • ExtraBlack

  • ExtraBold

  • ExtraLight

  • Heavy

  • Light

  • Medium

  • Normal (default)

  • Regular

  • SemiBold

  • Thin

  • UltraBlack

  • UltraBold

  • UltraLight

foreground

Defines a color for the foreground (texts etc.) of the layout.

This setting overwrites the default color of the color scheme!



Possible values:

  • Hexadecimal color value, e.g.  ff5a00

    Do not use a hash in front of the color value!
    Do not use a shortened notation of the color value!

  • Color code from the color palette of the Web App (see  Theming), e.g. A200

title

Title of the group

  • Data binding possible

Possible values: Any string

subtitle

Subtitle of the group

  • Data binding possible

Possible values: Any string