Click or drag to resize

GUILayoutStringTablekeepMaxSize Property

Tells if the maximum size of the columns should be persistent between the frames.

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.2.6 (in KSPDev_Utils.2.6.dll) Version: 2.6 for KSP v1
Syntax
C#
public bool keepMaxSize { get; set; }
Request Example View Source

Property Value

Type: Boolean
true if the column sizes are retained between the frames.
Remarks

If set to true, then the new frame will use the previous frame's data to determine the minimum column sizes. Thus, the table could grow, but it never shrinks (unless ResetMaxSizes is called). With this setting set to false, the table size will be recalculated from the scratch on every frame.

This property can be modified at any time, but it will have effect on the next frame only.

See Also