diff options
Diffstat (limited to 'scene/gui/box_container.h')
-rw-r--r-- | scene/gui/box_container.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scene/gui/box_container.h b/scene/gui/box_container.h index 3043c3ea45..55dfb2ada7 100644 --- a/scene/gui/box_container.h +++ b/scene/gui/box_container.h @@ -47,11 +47,16 @@ private: bool vertical = false; AlignmentMode alignment = ALIGNMENT_BEGIN; + struct ThemeCache { + int separation = 0; + } theme_cache; + void _resort(); protected: - void _notification(int p_what); + virtual void _update_theme_item_cache() override; + void _notification(int p_what); static void _bind_methods(); public: |