Click or drag to resize

GUILayoutVerticalScrollViewBeginView Method

Starts the scrollable view.

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

Parameters

layoutStyle
Type: GUIStyle
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: GUILayoutOption
The layout options for the view. Don't set the height options! This dimension is controlled by the control.
See Also