Click or drag to resize

GUILayoutStringTableAddTextColumn Method (GUIContent, GUIStyle, Single, Single)

Adds a content into the table column.

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 AddTextColumn(
	GUIContent content,
	GUIStyle style,
	float minWidth = 0f,
	float maxWidth = ∞f
)
Request Example View Source

Parameters

content
Type: GUIContent
The text/tooltip content of the column to add.
style
Type: GUIStyle
The style to apply to the text.
minWidth (Optional)
Type: SystemSingle
The minimum width of the column.
maxWidth (Optional)
Type: SystemSingle
The maximum width of the column.
Remarks
When possible, this method should be preferred over the other methods, which are simply the shortcuts to this one.
See Also