mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source, adds Enums
This commit is contained in:
@@ -23,7 +23,7 @@ Member Variables
|
||||
|
||||
.. _class_Button_align:
|
||||
|
||||
- :ref:`int<class_int>` **align** - Text alignment policy for the button's text, use one of the ALIGN\_\* constants.
|
||||
- :ref:`TextAlign<enum_button_textalign>` **align** - Text alignment policy for the button's text, use one of the ALIGN\_\* constants.
|
||||
|
||||
.. _class_Button_clip_text:
|
||||
|
||||
@@ -42,13 +42,18 @@ Member Variables
|
||||
- :ref:`String<class_string>` **text** - The button's text that will be displayed inside the button's area.
|
||||
|
||||
|
||||
Numeric Constants
|
||||
-----------------
|
||||
Enums
|
||||
-----
|
||||
|
||||
.. _enum_Button_TextAlign:
|
||||
|
||||
enum **TextAlign**
|
||||
|
||||
- **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.
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user