Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | List of all members
KSP.UI.AppUI_Heading Class Reference

A Header for separating the inputs. the label will show the value of the string thats been attributed, or the guiName if the string has no value More...

Inheritance diagram for KSP.UI.AppUI_Heading:
KSP.UI.AppUI_Control

Public Attributes

bool reverseLayoutGroupPadding = true
 When true this will cause the heading background to be the width of the wrapping VerticalLayoutGroup and ignore the padding in that control More...
 
AppUI_Label.HorizontalAlignment textAlignment = AppUI_Label.HorizontalAlignment.Left
 Horizontal Text Alignment for the value More...
 
- Public Attributes inherited from KSP.UI.AppUI_Control
string guiName
 The name display text of the control More...
 
HorizontalAlignment guiNameHorizAlignment = HorizontalAlignment.Left
 The horizontal alignment for the guiName text. More...
 
VerticalAlignment guiNameVertAlignment = VerticalAlignment.Midline
 The vertical alignment for the guiName text. More...
 
bool hideOnError = false
 Whether to hide this control during error states. More...
 
string hoverText
 hovertext to be set on any configured hovertext elements - this only shows on XSelectable controls (eg not labels) More...
 
int order
 Sort order index for this parameter in the panel More...
 
bool showGuiName = true
 Whether the guiName is shown alongside the value/input More...
 

Additional Inherited Members

- Public Types inherited from KSP.UI.AppUI_Control
enum  HorizontalAlignment { HorizontalAlignment.None, HorizontalAlignment.Left, HorizontalAlignment.Middle, HorizontalAlignment.Right }
 Limited set of alignment values for horizontal TMP More...
 
enum  VerticalAlignment { VerticalAlignment.Top, VerticalAlignment.Bottom, VerticalAlignment.Midline, VerticalAlignment.Capline }
 Limited set of alignment values for vertical TMP More...
 
- Public Member Functions inherited from KSP.UI.AppUI_Control
 AppUI_Control ()
 

Detailed Description

A Header for separating the inputs. the label will show the value of the string thats been attributed, or the guiName if the string has no value

NOTE: showGuiName has no effect here as there is only the heading being displayed,

Member Data Documentation

bool KSP.UI.AppUI_Heading.reverseLayoutGroupPadding = true

When true this will cause the heading background to be the width of the wrapping VerticalLayoutGroup and ignore the padding in that control

Horizontal Text Alignment for the value


The documentation for this class was generated from the following file: