1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

PopupMenu: Clarify behaviour of withItemThatMustBeVisible() in docs

This commit is contained in:
reuk 2025-08-18 13:26:36 +01:00
parent d2cb90cded
commit 90abc8c1c5
No known key found for this signature in database

View file

@ -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;