ConstraintGuide.setNatSize

Sets the natural size of guide.

If guide is attached to a gtk.constraint_layout.ConstraintLayout, the constraints will be updated to reflect the new size.

class ConstraintGuide
void
setNatSize
(
int width
,
int height
)

Parameters

width int

the new natural width, or -1 to not change it

height int

the new natural height, or -1 to not change it