From f523af2d13bea14e09ba8dcae92c09ae5f67505c Mon Sep 17 00:00:00 2001 From: Alexander Montag Date: Wed, 25 Sep 2024 16:15:17 +0000 Subject: [PATCH] Make TreeSearchPanel HFlowContainer --- editor/tree_search.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/editor/tree_search.h b/editor/tree_search.h index 5786cb1..80ddd0d 100644 --- a/editor/tree_search.h +++ b/editor/tree_search.h @@ -18,7 +18,7 @@ #ifdef LIMBOAI_GDEXTENSION #include -#include +#include #include #include #include @@ -27,7 +27,7 @@ #ifdef LIMBOAI_MODULE #include "scene/gui/check_button.h" -#include "scene/gui/box_container.h" +#include "scene/gui/flow_container.h" #include "scene/gui/label.h" #include "scene/gui/line_edit.h" #include "scene/gui/tree.h" @@ -40,8 +40,8 @@ enum TreeSearchMode { FILTER = 1 }; -class TreeSearchPanel : public HBoxContainer { - GDCLASS(TreeSearchPanel, HBoxContainer) +class TreeSearchPanel : public HFlowContainer { + GDCLASS(TreeSearchPanel, HFlowContainer) private: Button *toggle_button_filter_highlight; Button *close_button;