diff --git a/modules/juce_gui_basics/menus/juce_PopupMenu.h b/modules/juce_gui_basics/menus/juce_PopupMenu.h index 2bd58a77a9..d5e9d181eb 100644 --- a/modules/juce_gui_basics/menus/juce_PopupMenu.h +++ b/modules/juce_gui_basics/menus/juce_PopupMenu.h @@ -544,6 +544,9 @@ public: This is useful to ensure that a particular item is shown when the menu contains too many items to display on a single screen. + + The specified item will be positioned at the target screen area of the + menu if possible. */ [[nodiscard]] Options withItemThatMustBeVisible (int idOfItemToBeVisible) const;