Tobago Demo

Menu

Flow Layout

The flow layout can be used with the <tc:flowLayout/> tag. By default, the content is displayed in a flow layout.

Tag Library Documentation

Basics

The buttons are displayed successively at the same line. Components which doesn't fit in the current line are moved to the next one. Components like an output field or a checkbox are displayed in a separate line.

Outputvalue

Align: left (default)

<tc:flowLayout textAlign="left"> Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text

Align: right

<tc:flowLayout textAlign="right"> Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text

Align: center

<tc:flowLayout textAlign="center"> Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text

Align: justify

<tc:flowLayout textAlign="justify"> Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text
© 2005-2023 Apache Software Foundation, Licensed under the Apache License, Version 2.0.