diff options
| author | kobewi <kobewi4e@gmail.com> | 2023-09-26 23:52:16 +0200 |
|---|---|---|
| committer | kobewi <kobewi4e@gmail.com> | 2023-09-27 00:06:15 +0200 |
| commit | cfb6d25d30133409a78dbfefa47d1f48e7a52e8c (patch) | |
| tree | 704527d313599d34297f100e435f3652c2988da0 /doc | |
| parent | 251fb83d536a96110790bbf85b3fa50e5a8e2b7c (diff) | |
| download | redot-engine-cfb6d25d30133409a78dbfefa47d1f48e7a52e8c.tar.gz | |
Document, cleanup and fix some theme properties
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/classes/Button.xml | 1 | ||||
| -rw-r--r-- | doc/classes/GraphEdit.xml | 3 | ||||
| -rw-r--r-- | doc/classes/ScrollBar.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index bee0cbcf4a..c6ecbc26f8 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -132,6 +132,7 @@ Font size of the [Button]'s text. </theme_item> <theme_item name="icon" data_type="icon" type="Texture2D"> + Default icon for the [Button]. Appears only if [member icon] is not assigned. </theme_item> <theme_item name="disabled" data_type="style" type="StyleBox"> [StyleBox] used when the [Button] is disabled. diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml index baa591fd66..f05557861a 100644 --- a/doc/classes/GraphEdit.xml +++ b/doc/classes/GraphEdit.xml @@ -214,7 +214,7 @@ <param index="3" name="to_port" type="int" /> <param index="4" name="amount" type="float" /> <description> - Sets the coloration of the connection between [param from_node]'s [param from_port] and [param to_node]'s [param to_port] with the color provided in the [theme_item activity] theme property. + Sets the coloration of the connection between [param from_node]'s [param from_port] and [param to_node]'s [param to_port] with the color provided in the [theme_item activity] theme property. The color is linearly interpolated between the connection color and the activity color using [param amount] as weight. </description> </method> <method name="set_selected"> @@ -396,6 +396,7 @@ </constants> <theme_items> <theme_item name="activity" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> + Color of the connection's activity (see [method set_connection_activity]). </theme_item> <theme_item name="grid_major" data_type="color" type="Color" default="Color(1, 1, 1, 0.2)"> Color of major grid lines. diff --git a/doc/classes/ScrollBar.xml b/doc/classes/ScrollBar.xml index e8d2753a9a..4ee05632a5 100644 --- a/doc/classes/ScrollBar.xml +++ b/doc/classes/ScrollBar.xml @@ -49,8 +49,6 @@ <theme_item name="grabber_pressed" data_type="style" type="StyleBox"> Used when the grabber is being dragged. </theme_item> - <theme_item name="hscroll" data_type="style" type="StyleBox"> - </theme_item> <theme_item name="scroll" data_type="style" type="StyleBox"> Used as background of this [ScrollBar]. </theme_item> |
