ToolButtonStyle TextUnderIcon

robot_2Generated
code_blocksInput

Description

The TextUnderIcon field is a member of the Editor.ToolButtonStyle enumeration. It specifies a style for tool buttons where the text label is displayed directly beneath the icon. This style is useful for providing a clear and descriptive label for each button, enhancing user understanding of the button's function.

Usage

Use the TextUnderIcon style when you want to ensure that the button's function is clearly communicated to the user through both an icon and a text label. This can be particularly useful in scenarios where the icon alone may not be sufficient to convey the button's purpose.

Example

// Example of setting a tool button style to TextUnderIcon
ToolButton myButton = new ToolButton();
myButton.Style = ToolButtonStyle.TextUnderIcon;

// This will display the button with the text label positioned under the icon.