maxWidth

inline fun Style.maxWidth(maxWidth: Dimen): Style

Sets a preferred maximum width for this component when its parent lays it out.