You are here: User interface > User interface rules > Harness and section forms > Layout group properties - Presentation tab

Layout group properties - Presentation tab

Click the Gear icon in the Layout group header to display the properties panel and then select the Presentation tab.

Field

Description

Layout mode

Optimized code - Recommended option. Select optimized code to use flexbox-based layout in your form. A flexbox layout alters the width, height, and order of its contents to best fill the available space. The child layouts contained within this type of layout can be laid out in vertically or horizontally. You can expand them to fill the available space or shrink to avoid overflowing the parent layout. You can also manipulate horizontal and vertical alignment of the child layouts. If you need to build layouts in two dimensions, use nesting layouts (horizontal inside vertical or vertical inside horizontal).

Legacy code - Select legacy code to use float-based layout in your form. This type of layout uses the inline block when setting several layouts side-by-side inline. The inline block is compatible with pre-flexbox generation of dynamic layouts. Converting this layout to the optimized layout mode might require additional changes if you use custom CSS for styling the dynamic layout.

Clear floated layouts

Select this check box when you want the layout group to display below other floated layout groups within the container in which it is hosted.

Inline style

Type CSS code to define an inline style. As a best practice, define custom styles in the skin.

Custom CSS class Specify a custom CSS class, if desired styling cannot be achieved through the skin.