summaryrefslogtreecommitdiff
path: root/scene/gui/flow_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/flow_container.h')
-rw-r--r--scene/gui/flow_container.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/scene/gui/flow_container.h b/scene/gui/flow_container.h
index a2da43e071..2cdf7d7c37 100644
--- a/scene/gui/flow_container.h
+++ b/scene/gui/flow_container.h
@@ -42,11 +42,17 @@ private:
bool vertical = false;
+ struct ThemeCache {
+ int h_separation = 0;
+ int v_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: