summaryrefslogtreecommitdiff
path: root/scene/gui/grid_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/grid_container.h')
-rw-r--r--scene/gui/grid_container.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/gui/grid_container.h b/scene/gui/grid_container.h
index 9d77f90ab3..522046f694 100644
--- a/scene/gui/grid_container.h
+++ b/scene/gui/grid_container.h
@@ -38,7 +38,14 @@ class GridContainer : public Container {
int columns = 1;
+ struct ThemeCache {
+ int h_separation = 0;
+ int v_separation = 0;
+ } theme_cache;
+
protected:
+ virtual void _update_theme_item_cache() override;
+
void _notification(int p_what);
static void _bind_methods();