ui.SplitPanel.setOrientation

Sets the panel's orientation; one of "horizontal" or "vertical".

Returns this split panel.

UsageReturns
SplitPanel.setOrientation(orientation)ui.SplitPanel
ArgumentTypeDetails
this: ui.splitpanelui.SplitPanel

The ui.SplitPanel instance.

orientationString

The new orientation.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!