Switcher:sizing_mode
Returns how this switcher’s desired size is computed.
Usage
switcher:sizing_mode()
Returns
| Name | Type | Description |
|---|---|---|
sizing_mode | SwitcherSizing | How this switcher’s desired size is computed. |
Examples
local switcher = crystal.Switcher:new();
print(switcher:sizing_mode()); -- Prints "active"