Call PopupMenu min. size calculations after about_to_popup signal processing.

This commit is contained in:
Pāvels Nadtočajevs 2025-05-23 10:21:10 +03:00
parent 1bbfe637c6
commit 12d957e737
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
4 changed files with 18 additions and 11 deletions

View file

@ -257,6 +257,7 @@ private:
static int root_layout_direction;
protected:
virtual void _pre_popup() {} // Called after "about_to_popup", but before window is shown.
virtual Rect2i _popup_adjust_rect() const { return Rect2i(); }
virtual void _post_popup() {}