PixelCrushers.DialogueSystem.UnityGUI.AutoSize Class Reference

Specifies a control's auto-size settings. More...

Collaboration diagram for PixelCrushers.DialogueSystem.UnityGUI.AutoSize:

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...
 

Detailed Description

Specifies a control's auto-size settings.

Member Data Documentation

◆ autoSizeHeight

bool PixelCrushers.DialogueSystem.UnityGUI.AutoSize.autoSizeHeight = false

If true, auto-size the height to fit the contents.

◆ autoSizeWidth

bool PixelCrushers.DialogueSystem.UnityGUI.AutoSize.autoSizeWidth = false

If true, auto-size the width to fit the contents.

◆ maxHeight

ScaledValue PixelCrushers.DialogueSystem.UnityGUI.AutoSize.maxHeight = new ScaledValue(ScaledValue.max)

The maximum height to auto-size to.

◆ maxWidth

ScaledValue PixelCrushers.DialogueSystem.UnityGUI.AutoSize.maxWidth = new ScaledValue(ScaledValue.max)

The maximum width to auto-size to.

◆ padding

RectOffset PixelCrushers.DialogueSystem.UnityGUI.AutoSize.padding

The amount of padding, in pixels, to ensure around the control's content when auto-sizing.

Property Documentation

◆ IsEnabled

bool PixelCrushers.DialogueSystem.UnityGUI.AutoSize.IsEnabled
get

Gets a value indicating whether auto-sizing is enabled.


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