Dropdown
Toggles a panel below the button that can contain any components.
Import
xml
<import component="EvoSC.Controls.Dropdown" as="Dropdown" />
Properties
Name | Type | Default | Description |
---|---|---|---|
id | string | None | The ID of the dropdown. |
text | string | Dropdown | The text to display in the button. |
x | double | 0.0 | X position of the button. |
y | double | 0.0 | Y position of the button. |
width | double | 20.0 | Width of the button background. |
height | double | 5.0 | Height of the button background. |
type | string | primary | Style type of the button, can be primary or secondary. |
disabled | bool | false | Whether the dropdown button is disabled or not. If disabled, the panel wont open. |