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

A numeric input More...

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

Public Attributes

string guiFormat
 The gui format string for this field (D4, F2, N0, etc). Blank if none More...
 
- Public Attributes inherited from KSP.UI.AppUI_Input
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 numeric input

Member Data Documentation

string KSP.UI.AppUI_InputFloat.guiFormat

The gui format string for this field (D4, F2, N0, etc). Blank if none


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