Skip to content

API Reference / @gtkx/components / ConstraintVflProps

Type Alias: ConstraintVflProps

ConstraintVflProps = object

Defined in: constraint-layout-apply.d.ts:44

Describes constraints authored with the Visual Format Language (VFL), applied by <ConstraintLayout.Vfl>.

Properties

hspacing?

optional hspacing?: number

Defined in: constraint-layout-apply.d.ts:48

Default horizontal spacing used by the layout operator (defaults to 0).


lines

lines: string[]

Defined in: constraint-layout-apply.d.ts:46

VFL lines describing the constraints between named widgets and guides.


vspacing?

optional vspacing?: number

Defined in: constraint-layout-apply.d.ts:50

Default vertical spacing used by the layout operator (defaults to 0).

Released under the MPL-2.0 License.