setMaxWidth

open fun setMaxWidth(maxWidth: Int)

Sets the maximum width of the @tree_column. If @max_width is -1, then the maximum width is unset. Note, the column can actually be wider than max width if it’s the last column in a view. In this case, the column expands to fill any extra space.

Parameters

maxWidth

The maximum width of the column in pixels, or -1.