summaryrefslogtreecommitdiff
path: root/editor/plugins/tiles/tile_map_editor.h
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2023-01-25 16:27:28 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2023-01-25 16:27:28 +0100
commit156c4cbcb84a5b55d3b653fea316f8cf566f2406 (patch)
tree5f74379b4cdf6efdf8fee373be12541ad0d95e3e /editor/plugins/tiles/tile_map_editor.h
parent4368191a9f9c6290805dd4094c36379776128338 (diff)
Make TileMap toolbar a FlowContainer
Diffstat (limited to 'editor/plugins/tiles/tile_map_editor.h')
-rw-r--r--editor/plugins/tiles/tile_map_editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.h b/editor/plugins/tiles/tile_map_editor.h
index fb9c2f3689..1cab1d1500 100644
--- a/editor/plugins/tiles/tile_map_editor.h
+++ b/editor/plugins/tiles/tile_map_editor.h
@@ -38,6 +38,7 @@
#include "scene/2d/tile_map.h"
#include "scene/gui/box_container.h"
#include "scene/gui/check_box.h"
+#include "scene/gui/flow_container.h"
#include "scene/gui/item_list.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/option_button.h"
@@ -323,7 +324,7 @@ private:
Vector<TileMapEditorPlugin *> tile_map_editor_plugins;
// Toolbar.
- HBoxContainer *tile_map_toolbar = nullptr;
+ HFlowContainer *tile_map_toolbar = nullptr;
OptionButton *layers_selection_button = nullptr;
Button *toggle_highlight_selected_layer_button = nullptr;