Specifies a control's auto-size settings. More...
Public Attributes | |
bool | autoSizeWidth = false |
If true , auto-size the width to fit the contents. More... | |
bool | autoSizeHeight = false |
If true , auto-size the height to fit the contents. More... | |
ScaledValue | maxWidth = new ScaledValue(ScaledValue.max) |
The maximum width to auto-size to. More... | |
ScaledValue | maxHeight = new ScaledValue(ScaledValue.max) |
The maximum height to auto-size to. More... | |
RectOffset | padding |
The amount of padding, in pixels, to ensure around the control's content when auto-sizing. More... | |
Properties | |
bool | IsEnabled [get] |
Gets a value indicating whether auto-sizing is enabled. More... | |
Specifies a control's auto-size settings.
bool PixelCrushers.DialogueSystem.UnityGUI.AutoSize.autoSizeHeight = false |
If true
, auto-size the height to fit the contents.
bool PixelCrushers.DialogueSystem.UnityGUI.AutoSize.autoSizeWidth = false |
If true
, auto-size the width to fit the contents.
ScaledValue PixelCrushers.DialogueSystem.UnityGUI.AutoSize.maxHeight = new ScaledValue(ScaledValue.max) |
The maximum height to auto-size to.
ScaledValue PixelCrushers.DialogueSystem.UnityGUI.AutoSize.maxWidth = new ScaledValue(ScaledValue.max) |
The maximum width to auto-size to.
RectOffset PixelCrushers.DialogueSystem.UnityGUI.AutoSize.padding |
The amount of padding, in pixels, to ensure around the control's content when auto-sizing.
|
get |
Gets a value indicating whether auto-sizing is enabled.