Class “ConstraintLayout”

Object > Layout > ConstraintLayout

The default, constraints-based layout.

Type: ConstraintLayout extends Layout
Constructor: public
Singleton: No
Namespace: tabris
Direct subclasses: None
JSX Support: No

Examples

JavaScript

import {Composite, ConstraintLayout, contentView} from 'tabris';

contentView.append(
  new Composite({layout: new ConstraintLayout()})
);

Constructor

new ConstraintLayout(options?)

Parameter Type Description
options {} Optional.

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