GUI.ToolbarButtonSize
Determines how toolbar button size is calculated.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
public enum GUI.ToolbarButtonSize
Fields
Value | Description |
|---|---|
| FitToContents | The width of each toolbar button is calculated based on the width of its content. |
| Fixed | Calculates the button size by dividing the available width by the number of buttons. The minimum size is the maximum content width. |