suggestSize

fun suggestSize(value: Size)

Request that the View's size value be updated.

NOTE: this does not guarantee that View.size will be changed. That depends on constraints placed on this View by any Layout.

Parameters

value

suggested

See also


fun suggestSize(width: Double, height: Double)

Request that the View's size value be updated.

NOTE: this does not guarantee that View.size will be changed. That depends on constraints placed on this View by any Layout.

Parameters

width

suggested

height

suggested

See also