Class “ConstraintLayout”

Object > Layout > ConstraintLayout

The default, constraints-based layout.

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

Example

import {Composite, ConstraintLayout} from 'tabris';

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

Constructor

new ConstraintLayout(parameterObject?)

Parameter Type Optional Description
parameterObject {} Yes  

Static Properties

default

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