Tanoda
UnityEngine.UI.Extensions.TableLayoutGroup Class Reference

Arranges child objects into a non-uniform grid, with fixed column widths and flexible row heights More...

Inheritance diagram for UnityEngine.UI.Extensions.TableLayoutGroup:

Public Types

enum  Corner { UpperLeft = 0 , UpperRight = 1 , LowerLeft = 2 , LowerRight = 3 }
 

Public Member Functions

override void CalculateLayoutInputHorizontal ()
 
override void CalculateLayoutInputVertical ()
 
override void SetLayoutHorizontal ()
 
override void SetLayoutVertical ()
 

Protected Attributes

Corner startCorner = Corner.UpperLeft
 
float[] columnWidths = new float[1] { 96f }
 
float minimumRowHeight = 32f
 
bool flexibleRowHeight = true
 
float columnSpacing = 0f
 
float rowSpacing = 0
 

Properties

Corner StartCorner [get, set]
 The corner starting from which the cells should be arranged More...
 
float[] ColumnWidths [get, set]
 The widths of all the columns in the table More...
 
float MinimumRowHeight [get, set]
 The minimum height for any row in the table More...
 
bool FlexibleRowHeight [get, set]
 Expand rows to fit the cell with the highest preferred height? More...
 
float ColumnSpacing [get, set]
 The horizontal spacing between each cell in the table More...
 
float RowSpacing [get, set]
 The vertical spacing between each row in the table More...
 

Detailed Description

Arranges child objects into a non-uniform grid, with fixed column widths and flexible row heights

Definition at line 10 of file TableLayoutGroup.cs.

Member Enumeration Documentation

◆ Corner

Enumerator
UpperLeft 
UpperRight 
LowerLeft 
LowerRight 

Definition at line 12 of file TableLayoutGroup.cs.

Member Function Documentation

◆ CalculateLayoutInputHorizontal()

override void UnityEngine.UI.Extensions.TableLayoutGroup.CalculateLayoutInputHorizontal ( )

Definition at line 107 of file TableLayoutGroup.cs.

◆ CalculateLayoutInputVertical()

override void UnityEngine.UI.Extensions.TableLayoutGroup.CalculateLayoutInputVertical ( )

Definition at line 127 of file TableLayoutGroup.cs.

◆ SetLayoutHorizontal()

override void UnityEngine.UI.Extensions.TableLayoutGroup.SetLayoutHorizontal ( )

Definition at line 189 of file TableLayoutGroup.cs.

◆ SetLayoutVertical()

override void UnityEngine.UI.Extensions.TableLayoutGroup.SetLayoutVertical ( )

Definition at line 239 of file TableLayoutGroup.cs.

Member Data Documentation

◆ columnSpacing

float UnityEngine.UI.Extensions.TableLayoutGroup.columnSpacing = 0f
protected

Definition at line 77 of file TableLayoutGroup.cs.

◆ columnWidths

float [] UnityEngine.UI.Extensions.TableLayoutGroup.columnWidths = new float[1] { 96f }
protected

Definition at line 35 of file TableLayoutGroup.cs.

◆ flexibleRowHeight

bool UnityEngine.UI.Extensions.TableLayoutGroup.flexibleRowHeight = true
protected

Definition at line 63 of file TableLayoutGroup.cs.

◆ minimumRowHeight

float UnityEngine.UI.Extensions.TableLayoutGroup.minimumRowHeight = 32f
protected

Definition at line 49 of file TableLayoutGroup.cs.

◆ rowSpacing

float UnityEngine.UI.Extensions.TableLayoutGroup.rowSpacing = 0
protected

Definition at line 91 of file TableLayoutGroup.cs.

◆ startCorner

Corner UnityEngine.UI.Extensions.TableLayoutGroup.startCorner = Corner.UpperLeft
protected

Definition at line 21 of file TableLayoutGroup.cs.

Property Documentation

◆ ColumnSpacing

float UnityEngine.UI.Extensions.TableLayoutGroup.ColumnSpacing
getset

The horizontal spacing between each cell in the table

Definition at line 81 of file TableLayoutGroup.cs.

◆ ColumnWidths

float [] UnityEngine.UI.Extensions.TableLayoutGroup.ColumnWidths
getset

The widths of all the columns in the table

Definition at line 39 of file TableLayoutGroup.cs.

◆ FlexibleRowHeight

bool UnityEngine.UI.Extensions.TableLayoutGroup.FlexibleRowHeight
getset

Expand rows to fit the cell with the highest preferred height?

Definition at line 67 of file TableLayoutGroup.cs.

◆ MinimumRowHeight

float UnityEngine.UI.Extensions.TableLayoutGroup.MinimumRowHeight
getset

The minimum height for any row in the table

Definition at line 53 of file TableLayoutGroup.cs.

◆ RowSpacing

float UnityEngine.UI.Extensions.TableLayoutGroup.RowSpacing
getset

The vertical spacing between each row in the table

Definition at line 95 of file TableLayoutGroup.cs.

◆ StartCorner

Corner UnityEngine.UI.Extensions.TableLayoutGroup.StartCorner
getset

The corner starting from which the cells should be arranged

Definition at line 25 of file TableLayoutGroup.cs.


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