mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -21,15 +21,15 @@ Base class for drawing stylized boxes for the UI.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+-----------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_bottom<class_StyleBox_property_content_margin_bottom>` |
|
||||
+---------------------------+-----------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_left<class_StyleBox_property_content_margin_left>` |
|
||||
+---------------------------+-----------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_right<class_StyleBox_property_content_margin_right>` |
|
||||
+---------------------------+-----------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_top<class_StyleBox_property_content_margin_top>` |
|
||||
+---------------------------+-----------------------------------------------------------------------------+
|
||||
+---------------------------+-----------------------------------------------------------------------------+------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_bottom<class_StyleBox_property_content_margin_bottom>` | -1.0 |
|
||||
+---------------------------+-----------------------------------------------------------------------------+------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_left<class_StyleBox_property_content_margin_left>` | -1.0 |
|
||||
+---------------------------+-----------------------------------------------------------------------------+------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_right<class_StyleBox_property_content_margin_right>` | -1.0 |
|
||||
+---------------------------+-----------------------------------------------------------------------------+------+
|
||||
| :ref:`float<class_float>` | :ref:`content_margin_top<class_StyleBox_property_content_margin_top>` | -1.0 |
|
||||
+---------------------------+-----------------------------------------------------------------------------+------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -62,11 +62,13 @@ Property Descriptions
|
||||
|
||||
- :ref:`float<class_float>` **content_margin_bottom**
|
||||
|
||||
+----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+----------+---------------------------+
|
||||
+-----------+---------------------------+
|
||||
| *Default* | -1.0 |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+-----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
The bottom margin for the contents of this style box. Increasing this value reduces the space available to the contents from the bottom.
|
||||
|
||||
@@ -80,11 +82,13 @@ It is up to the code using this style box to decide what these contents are: for
|
||||
|
||||
- :ref:`float<class_float>` **content_margin_left**
|
||||
|
||||
+----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+----------+---------------------------+
|
||||
+-----------+---------------------------+
|
||||
| *Default* | -1.0 |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+-----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
The left margin for the contents of this style box. Increasing this value reduces the space available to the contents from the left.
|
||||
|
||||
@@ -94,11 +98,13 @@ Refer to :ref:`content_margin_bottom<class_StyleBox_property_content_margin_bott
|
||||
|
||||
- :ref:`float<class_float>` **content_margin_right**
|
||||
|
||||
+----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+----------+---------------------------+
|
||||
+-----------+---------------------------+
|
||||
| *Default* | -1.0 |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+-----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
The right margin for the contents of this style box. Increasing this value reduces the space available to the contents from the right.
|
||||
|
||||
@@ -108,11 +114,13 @@ Refer to :ref:`content_margin_bottom<class_StyleBox_property_content_margin_bott
|
||||
|
||||
- :ref:`float<class_float>` **content_margin_top**
|
||||
|
||||
+----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+----------+---------------------------+
|
||||
+-----------+---------------------------+
|
||||
| *Default* | -1.0 |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_default_margin(value) |
|
||||
+-----------+---------------------------+
|
||||
| *Getter* | get_default_margin() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
The top margin for the contents of this style box. Increasing this value reduces the space available to the contents from the top.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user