layout

Specifies the layout strategy to be used by this object.

Syntax

Reference_Syntax.layout = "position | lr-tb | rl-tb | row | table | tb"

Values

Type

Values

String

  • position (default)

  • lr-tb

  • rl-tb

  • row

  • table

  • tb

The content of the control is positioned according to the to the location information expressed on the content objects.

  • lr-tb

  • rl-tb

  • row

  • table

  • tb

The content of the object flows from left to right and top to bottom.

  • rl-tb

  • row

  • table

  • tb

Reserved for future use. The content of the object flows from right to left and top to bottom.

  • row

  • table

  • tb

This is an inner object of a table, representing one or more rows. The objects contained in this object are cells of the table and their height and width properties, if any, are ignored. The cells are laid out from right to left and each one is adjusted to the height of the row and the width of one or more contiguous columns.

  • table

  • tb

This is the outer object of a table. Each of its child subforms or exclusion groups must have its layout property set to row. The rows of the table are laid out from top to bottom.

  • tb

The content of the object flows from top to bottom.

Applies to

Version

XFA 2.1

Examples

JavaScript

Subform1.layout = "tb";

FormCalc

Subform1.layout = "tb"

// Ethnio survey code removed