aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/theme_editor_plugin.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-06-20 11:33:51 -0300
committerJuan Linietsky2016-06-20 11:33:51 -0300
commita1e32a6f7d19a4a594e498fea250d0b65417c2c8 (patch)
tree591d1ac965c1ca7dc65e35962923d9d5d320adeb /tools/editor/plugins/theme_editor_plugin.h
parent0e07f49a03cdf8bca5859e2a28bb68e4997005f4 (diff)
downloadgodot-a1e32a6f7d19a4a594e498fea250d0b65417c2c8.tar.gz
godot-a1e32a6f7d19a4a594e498fea250d0b65417c2c8.tar.zst
godot-a1e32a6f7d19a4a594e498fea250d0b65417c2c8.zip
-Improved theme editor, when a new class is added, the members are created empty, closes #4619
-Made theme editor take less vertical space by using a scroll area
Diffstat (limited to '')
-rw-r--r--tools/editor/plugins/theme_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/plugins/theme_editor_plugin.h b/tools/editor/plugins/theme_editor_plugin.h
index 1384fa6b6..ea8f8c1d3 100644
--- a/tools/editor/plugins/theme_editor_plugin.h
+++ b/tools/editor/plugins/theme_editor_plugin.h
@@ -35,16 +35,19 @@
#include "scene/gui/file_dialog.h"
#include "scene/gui/check_box.h"
#include "scene/gui/button_group.h"
+#include "scene/gui/scroll_container.h"
#include "tools/editor/editor_node.h"
+
class ThemeEditor : public Control {
OBJ_TYPE( ThemeEditor, Control );
+ ScrollContainer *scroll;
VBoxContainer *main_vb;
Ref<Theme> theme;