s&box docs

public class Editor.GridLayout : Editor.Layout

A widget layout. You can think of it as an invisible box of rows or columns, each one containing a widget, useful for automatic positioning and scaling.

Constructors

Showing 1 constructors

Methods

Showing 10 methods

public Sandbox.Rect GetCellRect(int x, int y)

public void SetColumnStretch(float[] values)

public void SetMinimumColumnWidth(int column, int width)

public void SetMinimumRowHeight(int row, int height)

public void SetRowStretch(float[] values)

Properties

Showing 2 properties

public float Editor.GridLayout.HorizontalSpacing { get; set; }

public float Editor.GridLayout.VerticalSpacing { get; set; }

Metadata

FieldValue
NamespaceEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.GridLayout

On this page