Version 2.1.0.0

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; }

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.