Splitter.setSplitPosition

Overview | Methods | This Package | All Packages

Splitter.setSplitPosition

Sets the distance between the splitter and the container edge that the control is docked to.

Syntax

public void setSplitPosition( int split )

Parameters

split

The distance, in pixels, between the splitter and the container edge that the control is docked to. For a horizontal splitter (a splitter docked to the top or bottom of a container), this value is the height of the resizable control. For a vertical splitter (a splitter docked to the left or right of a container), this value is the width of the resizable control.