Click or drag to resize

GUILayoutVerticalScrollView Class

Auto-resizing scrolling control.
Inheritance Hierarchy
SystemObject
  KSPDev.GUIUtilsGUILayoutVerticalScrollView

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.1.0 (in KSPDev_Utils.1.0.dll) Version: 1.0 for KSP v1.6+
Syntax
C#
public sealed class GUILayoutVerticalScrollView
Request Example View Source

The GUILayoutVerticalScrollView type exposes the following members.

Constructors
  NameDescription
Public methodGUILayoutVerticalScrollView
Initializes a new instance of the GUILayoutVerticalScrollView class
Top
Properties
  NameDescription
Public propertyscrollableAreaHeight
The full height of the area.
Top
Methods
  NameDescription
Public methodBeginView
Starts the scrollable view.
Public methodEndView
Marks the scrollable view end.
Top
Fields
  NameDescription
Public fieldscrollPosition
The scrolling position of the area.
Top
Remarks
This control automatically shrinks to its content to take as small space as possible, while still not needing the scrolling. If the height of the content exceeds the specified maximum, then a vertical scrollbar is added to the view and the view doesn't expand further.
See Also