Merge pull request #41692 from EricEzaM/PR/popup-menu-docs-update

Updated PopupMenu documentation after merge of #41640 - PopupMenu rework
This commit is contained in:
Rémi Verschelde 2020-09-02 21:52:53 +02:00 committed by GitHub
commit d3ab536a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,8 @@
</brief_description> </brief_description>
<description> <description>
[PopupMenu] is a [Control] that displays a list of options. They are popular in toolbars or context menus. [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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>