Click or drag to resize

GUILayoutVerticalScrollViewBeginView Method

Starts the scrollable view.

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.1.0 (in KSPDev_Utils.1.0.dll) Version: 1.0 for KSP v1.6+
Syntax
C#
public void BeginView(
	GUIStyle layoutStyle,
	float maxHeight,
	params GUILayoutOption[] layoutOptions
)
Request Example View Source

Parameters

layoutStyle
Type: UnityEngineGUIStyle
The style of the scrollable area.
maxHeight
Type: SystemSingle
The maximum height, the control is allowed to grow to before switching to the scrolling.
layoutOptions
Type: UnityEngineGUILayoutOption
The layout options for the view. Don't set the height options! This dimension is controlled by the control.
See Also