4.11 Layout

tabulator = [name:][ percentOfParent% ] [ (+|-)offset] [, ...] 
Defines vertical help lines to which gui elements can be attached. Tabulators can be defined for panels.
  • name: Name of the tabulatorposition.
  • percentOfParent: Percent of the space of the parent.
  • offset: Absolute offset.

Example:

tabulator=100,tabX:300,100%-10

Modeltransformation:

For openXMA core there is nothing own created but the positions defined by the tabulator are used to define the attachment of gui elements.

sideToAttach=
    [percentOfParent% | (siblingGuiElement | relativeSibling ) [.sideOfSibling] | tabulatorposition]
    [(+|-)offset]
Defines attachments of a gui element.
  • sideToAttach: The side of this gui element for which the attachment is defined. This can be: left,top,right,bottom,vcenter
  • percentOfParent: Percent of the dimension (width or height) of the parent.
  • siblingOfGuiElement: The name of a sibling of this gui element.
  • sideOfSibling: The side of the sibling. This can be: left,top,right,bottom,vcenter.
  • tabulatorposition: The reference to a tabulatorposition either by tab(indexOfTabulatorposition) or by the name of the tabulatorposition
  • offset: The offset to the parent or the specified position.

Example:

left=0
left=firstName.left
top=previous
right=50%-10
right=okButton-5
right=next-5
right=tab(2)
right=tabX
bottom=100%

Modeltransformation:

For openXMA core there is a XMAFormAttachment created.