robot_2Generated
code_blocksInput

Description

The TextOnly field is a member of the ToolButtonStyle enumeration within the Editor namespace. This enumeration is used to define the style of tool buttons in the editor interface.

The TextOnly style specifies that the button should display only text, without any accompanying icon. This can be useful for buttons where the text label is sufficient to convey the button's purpose, or where space is limited and icons are not necessary.

Usage

To use the TextOnly style for a tool button, set the button's style property to ToolButtonStyle.TextOnly. This will ensure that the button displays only its text label.

Example usage in a hypothetical editor setup:

ToolButton myButton = new ToolButton();
myButton.Style = ToolButtonStyle.TextOnly;
myButton.Text = "Save";

Example

ToolButton myButton = new ToolButton();
myButton.Style = ToolButtonStyle.TextOnly;
myButton.Text = "Save";