summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-10 11:13:07 +0100
committerGitHub <noreply@github.com>2020-12-10 11:13:07 +0100
commit67259d07db3c502f5e2cbe02e869b565e2d0471f (patch)
tree76a9ff4322fcf51f04b5765f19c26a87467e671e /doc/classes
parentbc9b54d6ab1572898085a59cd30ace18e1515bf6 (diff)
parent383e8919e0187d87a303818e59982bc25edb99ea (diff)
Merge pull request #44070 from YeldhamDev/popupmenu_separator_font_color
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>