Class “ConstraintLayout”

Object > Layout > ConstraintLayout

The default, constraints-based layout.

Constructor public
Singleton No
Namespace tabris
Direct subclasses None
JSX support No


import {Composite, ConstraintLayout} from 'tabris';

new Composite({layout: new ConstraintLayout()});


new ConstraintLayout(parameterObject?)

Parameter Type Optional Description
parameterObject {} Yes  

Static Properties


Instance of ConstraintLayout used as the default layout property value of Composite, Page, Tab and Canvas. Equivalent to new ConstraintLayout()

Type ConstraintLayout
Settable Yes
Change events No