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_Input Class Reference

A string input More...

Inheritance diagram for KSP.UI.AppUI_Input:
KSP.UI.AppUI_Control KSP.UI.AppUI_InputFloat

Public Attributes

bool showSuffix = false
 Whether to show a suffix label after the input field More...
 
float suffixPadding = 4f
 Padding in pixels between the input and the suffix label More...
 
string suffixText = ""
 The text for the suffix label More...
 
float suffixWidth = 20f
 Width in pixels of the suffix label 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 string input

Member Data Documentation

bool KSP.UI.AppUI_Input.showSuffix = false

Whether to show a suffix label after the input field

float KSP.UI.AppUI_Input.suffixPadding = 4f

Padding in pixels between the input and the suffix label

string KSP.UI.AppUI_Input.suffixText = ""

The text for the suffix label

float KSP.UI.AppUI_Input.suffixWidth = 20f

Width in pixels of the suffix label


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