withSize

abstract fun withSize(size: Size): U
open fun withSize(width: Int, height: Int): U

Sets the Size of the resulting Component.