VSplitContainer

Inherits: SplitContainer < Container < Control < CanvasItem < Node < Object

A container that splits two child controls vertically and provides a grabber for adjusting the split ratio.

Description

A container that accepts only two child controls, then arranges them vertically and creates a divisor between them. The divisor can be dragged around to change the size relation between the child controls.

Tutorials

Theme Properties

int

autohide

1

int

minimum_grab_thickness

6

int

separation

12

Texture2D

grabber


Theme Property Descriptions

int autohide = 1

Boolean value. If 1 (true), the grabber will hide automatically when it isn't under the cursor. If 0 (false), it's always visible.


int minimum_grab_thickness = 6

The minimum thickness of the area users can click on to grab the splitting line. If separation or grabber's thickness are too small, this ensure that the splitting line can still be dragged.


int separation = 12

The space between sides of the container.


Texture2D grabber

The icon used for the grabber drawn in the middle area.