setMaxSize

open fun setMaxSize(width: Int, height: Int)

Sets the maximum size of @guide.

If @guide is attached to a GtkConstraintLayout, the constraints will be updated to reflect the new size.

Parameters

width

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

height

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