Version 3.3.0.1

GUITableCell class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public class GUITableCell
A cell of a GUITable
Inheritance
  • System.Object
  • GUITableCell

Constructors

GUITableCell()
public GUITableCell()

Fields

GUIStyle
The GUI style
public Action<Rect> GUIStyle
Height

The height of the cell. Default is height is 22.

The height the column is determained by the tallest cell in the row.

public float Height
MinWidth
The minimum width.
public float MinWidth
OnGUI
public Action<Rect> OnGUI
SpanX
If true, the cell will expand horizontally, covering all neighbour null cells.
public bool SpanX
SpanY
If true, the cell will expand vertically, covering all neighbour null cells.
public bool SpanY
Width

The width of the cell. Default is width is 0.

The width the column is determained by the widest cell in the column.

Width = 0 = auto.

public float Width

Properties

Rect
Gets the rect.
public Rect Rect { get; }
X
The table column index.
public int X { get; }
Y
The table row index.
public int Y { get; }