summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2020-12-03 11:36:03 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2020-12-03 11:36:03 -0300
commit383e8919e0187d87a303818e59982bc25edb99ea (patch)
treeb437374edb3bbb67034f8373166f81a056ba4708 /doc/classes
parentdf4fe114a10cf31d7b22f8008e7ae52e8cd9654c (diff)
Add "font_color_separator" theme property to 'PopupMenu'
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/PopupMenu.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml
index c663f26d84..04798c04e9 100644
--- a/doc/classes/PopupMenu.xml
+++ b/doc/classes/PopupMenu.xml
@@ -207,6 +207,7 @@
</argument>
<description>
Adds a separator between items. Separators also occupy an index.
+ A [code]label[/code] can optionally be provided, which will appear at the center of the separator.
</description>
</method>
<method name="add_shortcut">
@@ -726,6 +727,9 @@
<theme_item name="font_color_hover" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
[Color] used for the hovered text.
</theme_item>
+ <theme_item name="font_color_separator" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
+ [Color] used for labeled separators' text. See [method add_separator].
+ </theme_item>
<theme_item name="font_size" type="int">
Font size of the menu items.
</theme_item>