ConstraintGuide.setMaxSize

void setMaxSize(int width, int height)

Sets the maximum size of guide.

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

Parameters

widththe new maximum width, or -1 to not change it
heightthe new maximum height, or -1 to not change it