Inherits: Container < Control < CanvasItem < Node < Object
Inherited By: HSplitContainer, VSplitContainer
A container that splits two child controls horizontally or vertically and provides a grabber for adjusting the split ratio.
A container that accepts only two child controls, then arranges them horizontally or vertically and creates a divisor between them. The divisor can be dragged around to change the size relation between the child controls.
| ||
| ||
| ||
|
void |
| ||
| ||
| ||
Emitted when the dragger is dragged by user.
0
The split dragger is visible when the cursor hovers it.
1
The split dragger is never visible.
2
The split dragger is never visible and its space collapsed.
false
If true, the area of the first Control will be collapsed and the dragger will be disabled.
0
Determines the dragger's visibility. See DraggerVisibility for details.
0
The initial offset of the splitting between the two Controls, with 0 being at the end of the first Control.
false
If true, the SplitContainer will arrange its children vertically, rather than horizontally.
Can't be changed when using HSplitContainer and VSplitContainer.
Clamps the split_offset value to not go outside the currently possible minimal and maximum values.
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.
6
The minimum thickness of the area users can click on to grab the splitting line. If separation or h_grabber / v_grabber's thickness are too small, this ensure that the splitting line can still be dragged.
12
The space between sides of the container.
The icon used for the grabber drawn in the middle area.
The icon used for the grabber drawn in the middle area when vertical is false.
The icon used for the grabber drawn in the middle area when vertical is true.
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_splitcontainer.html