You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Document, cleanup and fix some theme properties
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user