summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-04-24 04:59:17 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-04-24 12:42:12 -0300
commit350bcce041ebfdb6f250e93d9d08d7523a4fb88c (patch)
tree6b71b377cc7af27a181230ec4bd49cdf8c30d815 /editor
parente1d16e722ec9742c3f92d20dc433d540339c36e6 (diff)
Expose 'TextEdit's tab drawing and folding to GDScript
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_themes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 9641e10114..2e9c664108 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -831,6 +831,8 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_stylebox("read_only", "TextEdit", style_widget_disabled);
theme->set_constant("side_margin", "TabContainer", 0);
theme->set_icon("tab", "TextEdit", theme->get_icon("GuiTab", "EditorIcons"));
+ theme->set_icon("folded", "TextEdit", theme->get_icon("GuiTreeArrowRight", "EditorIcons"));
+ theme->set_icon("fold", "TextEdit", theme->get_icon("GuiTreeArrowDown", "EditorIcons"));
theme->set_color("font_color", "TextEdit", font_color);
theme->set_color("caret_color", "TextEdit", font_color);
theme->set_color("selection_color", "TextEdit", font_color_selection);