s&box docs

public class Editor.IconLabel : Editor.Widget

A material icon label

Constructors

Showing 1 constructors

public IconLabel(string icon, Editor.Widget parent = null)

Parameters

  • parent: Default: null

Methods

Showing 2 methods

protected virtual void OnPaint()

protected virtual Vector2 SizeHint()

Properties

Showing 5 properties

public string Editor.IconLabel.Icon { get; set; }

public float Editor.IconLabel.IconSize { get; set; }

public System.Action`1<bool> Editor.IconLabel.OnToggled { get; set; }

Metadata

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

On this page