setPosition

open fun setPosition(position: Int)

Sets the position of the divider between the two panes.

Parameters

position

pixel position of divider, a negative value means that the position is unset