Skip to content

API Reference / @gtkx/components / ConstraintGuideProps

Type Alias: ConstraintGuideProps

ConstraintGuideProps = object

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

Describes an invisible spacing guide added by <ConstraintLayout.Guide>, usable as a constraint target under its id.

Properties

id

id: string

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

Identifier used to reference this guide from constraints.


maxHeight?

optional maxHeight?: number

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


maxWidth?

optional maxWidth?: number

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


minHeight?

optional minHeight?: number

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


minWidth?

optional minWidth?: number

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


natHeight?

optional natHeight?: number

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

Preferred (natural) height.


natWidth?

optional natWidth?: number

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

Preferred (natural) width.


strength?

optional strength?: Gtk.ConstraintStrength

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

Strength of the guide's own size constraints.

Released under the MPL-2.0 License.