height

Sets the component's actual height to height, keeping its current width, like setSize(width, height). See size (the Int overload) for when this takes effect and how size/width/height compose.

Return

this modifier with the height declared on it.

Parameters

height

the height in pixels; the width written with it is the one the component holds when the write runs - whatever the last declaration or layout pass left there.

See also