mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -28,7 +28,7 @@ Properties
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flat<class_Button_property_flat>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`icon<class_Button_property_icon>` | null |
|
||||
| :ref:`Texture<class_Texture>` | :ref:`icon<class_Button_property_icon>` | |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_Button_property_text>` | "" |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
@@ -36,29 +36,29 @@ Properties
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | disabled | |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | focus | |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`Font<class_Font>` | font | |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color | Color( 0.878431, 0.878431, 0.878431, 1 ) |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color_disabled | Color( 0.9, 0.9, 0.9, 0.2 ) |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color_hover | Color( 0.941176, 0.941176, 0.941176, 1 ) |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color_pressed | Color( 1, 1, 1, 1 ) |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | hover | |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`int<class_int>` | hseparation | 2 |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | normal | |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | pressed | |
|
||||
+---------------------------------+---------------------+------------------------------------------+
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | disabled | |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | focus | |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`Font<class_Font>` | font | |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color | Color( 0.88, 0.88, 0.88, 1 ) |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color_disabled | Color( 0.9, 0.9, 0.9, 0.2 ) |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color_hover | Color( 0.94, 0.94, 0.94, 1 ) |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`Color<class_Color>` | font_color_pressed | Color( 1, 1, 1, 1 ) |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | hover | |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`int<class_int>` | hseparation | 2 |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | normal | |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
| :ref:`StyleBox<class_StyleBox>` | pressed | |
|
||||
+---------------------------------+---------------------+------------------------------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
@@ -133,13 +133,11 @@ Flat buttons don't display decoration.
|
||||
|
||||
- :ref:`Texture<class_Texture>` **icon**
|
||||
|
||||
+-----------+------------------------+
|
||||
| *Default* | null |
|
||||
+-----------+------------------------+
|
||||
| *Setter* | set_button_icon(value) |
|
||||
+-----------+------------------------+
|
||||
| *Getter* | get_button_icon() |
|
||||
+-----------+------------------------+
|
||||
+----------+------------------------+
|
||||
| *Setter* | set_button_icon(value) |
|
||||
+----------+------------------------+
|
||||
| *Getter* | get_button_icon() |
|
||||
+----------+------------------------+
|
||||
|
||||
Button's icon, if text is present the icon will be placed before the text.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user