Fix PopupMenu doesn't respect it's ScrollContainer's margins

This commit is contained in:
Mounir Tohami 2024-02-23 15:51:47 +02:00
parent 87d40ba743
commit 7884d63281
10 changed files with 68 additions and 79 deletions

View file

@ -35,6 +35,7 @@
#include "editor/editor_string_names.h"
#include "editor/multi_node_edit.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/margin_container.h"
Size2 EditorObjectSelector::get_minimum_size() const {
Ref<Font> font = get_theme_font(SNAME("font"));