Property "Alignment" <onslip>

Top  Previous  Next

The Alignment property is especially useful when working with elements that uses dynamic data. Since the data retrieved from the XML data source is of undetermined length, it is useful to specify the alignment of other elements that are next to element which uses dynamic data, to ensure that the contents are displayed well-arranged in the browser.

Suppose you have a Rich Text element and an Image element next to it. The value of the Rich Text element is dynamically achieved using $vof() function.

onslip1

Set the "Alignment | Vertical" property of Image element to "Top", to ensure that the image is always aligned to the top of the Rich text.

onslip2

 

Sub-Properties

Horizontal <align>

The Horizontal property is used to specify the horizontal alignment of an element. The element can be aligned Left, Right or Center.

Vertical <valign>

The Vertical property is used to specify the vertical alignment of the element. An element can be aligned to top, middle or bottom vertically.

Used In Elements

Panel

Image

Action

Condition

Graphic Text

Form

Edit Box

Edit Area

Check Box

Radio Button

Combo Box

List Box

Button

File Box