Description
The TextBesideIcon
field is a member of the ToolButtonStyle
enumeration within the Editor
namespace. This enumeration value specifies that a tool button should display its text label beside the icon. This style is useful for providing a clear and concise representation of the button's function, combining both visual and textual cues.
Usage
Use the TextBesideIcon
style when you want to ensure that both the icon and the text are visible side by side on a tool button. This can be particularly useful in user interfaces where space is not a constraint, and you want to provide additional context to the user through text.
Example
// Example of setting a tool button style to TextBesideIcon
ToolButton myButton = new ToolButton();
myButton.Style = ToolButtonStyle.TextBesideIcon;
// This will configure the button to display its text label next to the icon.