From ba565bec1be8184ff02dea7b5d3655d912132ee0 Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Wed, 9 Feb 2022 03:34:30 +0100 Subject: [PATCH] Update Popup and PopupMenu descriptions --- doc/classes/Popup.xml | 8 ++++---- doc/classes/PopupMenu.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/classes/Popup.xml b/doc/classes/Popup.xml index dc5dd47287b..36bdd6e6e4e 100644 --- a/doc/classes/Popup.xml +++ b/doc/classes/Popup.xml @@ -1,17 +1,17 @@ - Base container control for popups and dialogs. + Popup is a base window container for popup-like subwindows. - Popup is a base [Control] used to show dialogs and popups. It's a subwindow and modal by default (see [Control]) and has helpers for custom popup behavior. + Popup is a base window container for popup-like subwindows. It's a modal by default (see [member close_on_parent_focus]) and has helpers for custom popup behavior. - If [code]true[/code], the [Popup] will close when its parent is focused. + If true, the [Popup] will close when its parent [Window] is focused. @@ -21,7 +21,7 @@ - Emitted when a popup is hidden. + Emitted when the popup is hidden. diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index b316f822f00..29a4cfcd466 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -4,7 +4,7 @@ PopupMenu displays a list of options. - [PopupMenu] is a [Control] that displays a list of options. They are popular in toolbars or context menus. + [PopupMenu] is a modal window used to display 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.