mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[Complex Text Layouts] Add TextServer documentation. Update Font, CanvasItem, Theme and modified controls documentation.
This commit is contained in:
@@ -239,7 +239,10 @@
|
||||
The horizontal space between the arrow icon and the right edge of the button.
|
||||
</theme_item>
|
||||
<theme_item name="disabled" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is disabled.
|
||||
[StyleBox] used when the [OptionButton] is disabled (for left-to-right layouts).
|
||||
</theme_item>
|
||||
<theme_item name="disabled_mirrored" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is disabled (for right-to-left layouts).
|
||||
</theme_item>
|
||||
<theme_item name="focus" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is focused. It is displayed over the current [StyleBox], so using [StyleBoxEmpty] will just disable the focus visual effect.
|
||||
@@ -259,17 +262,29 @@
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [OptionButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the [OptionButton]'s text.
|
||||
</theme_item>
|
||||
<theme_item name="hover" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is being hovered.
|
||||
[StyleBox] used when the [OptionButton] is being hovered (for left-to-right layouts).
|
||||
</theme_item>
|
||||
<theme_item name="hover_mirrored" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is being hovered (for right-to-left layouts).
|
||||
</theme_item>
|
||||
<theme_item name="hseparation" type="int" default="2">
|
||||
The horizontal space between [OptionButton]'s icon and text.
|
||||
</theme_item>
|
||||
<theme_item name="normal" type="StyleBox">
|
||||
Default [StyleBox] for the [OptionButton].
|
||||
Default [StyleBox] for the [OptionButton] (for left-to-right layouts).
|
||||
</theme_item>
|
||||
<theme_item name="normal_mirrored" type="StyleBox">
|
||||
Default [StyleBox] for the [OptionButton] (for right-to-left layouts).
|
||||
</theme_item>
|
||||
<theme_item name="pressed" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is being pressed.
|
||||
[StyleBox] used when the [OptionButton] is being pressed (for left-to-right layouts).
|
||||
</theme_item>
|
||||
<theme_item name="pressed_mirrored" type="StyleBox">
|
||||
[StyleBox] used when the [OptionButton] is being pressed (for right-to-left layouts).
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user