Button¶
Inherits: BaseButton < Control < CanvasItem < Node < Object
Inherited By: OptionButton, ColorPickerButton, CheckButton, MenuButton, ToolButton, CheckBox
Category: Core
Brief Description¶
Standard themed Button.
Member Variables¶
- TextAlign align - Text alignment policy for the button’s text, use one of the ALIGN_* constants.
Enums¶
- ALIGN_LEFT = 0 — Align the text to the left.
- ALIGN_CENTER = 1 — Align the text to the center.
- ALIGN_RIGHT = 2 — Align the text to the right.