summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorEric M <itsjusteza@gmail.com>2020-09-02 09:43:11 +1000
committerEric M <itsjusteza@gmail.com>2020-09-02 10:19:57 +1000
commit926c282fd50e90fbc1a7326cf0dfaa9dad930141 (patch)
treec9612362e7e454fc6d89b919d1ec1071ece33a10 /doc/classes
parentd70a17d5d37fd09b43882e7972f2ed93eb56b897 (diff)
Updated PopupMenu documentation after merge of #41640 - PopupMenu rework
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/PopupMenu.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml
index ce55c90c68..2af0f500a0 100644
--- a/doc/classes/PopupMenu.xml
+++ b/doc/classes/PopupMenu.xml
@@ -5,6 +5,8 @@
</brief_description>
<description>
[PopupMenu] is a [Control] that displays a list of options. They are popular in toolbars or context menus.
+ The size of a [PopupMenu] can be limited by using [member Window.max_size]. If the height of the list of items is larger than the maximum height of the [PopupMenu], a [ScrollContainer] within the popup will allow the user to scroll the contents.
+ If no maximum size is set, or if it is set to 0, the [PopupMenu] height will be limited by its parent rect.
</description>
<tutorials>
</tutorials>