summaryrefslogtreecommitdiff
path: root/scene/resources
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 /scene/resources
parente1d16e722ec9742c3f92d20dc433d540339c36e6 (diff)
Expose 'TextEdit's tab drawing and folding to GDScript
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/default_theme/default_theme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index f425972183..5ae57fdb52 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -423,6 +423,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_stylebox("completion", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3, 0, 0, 0, 0));
theme->set_icon("tab", "TextEdit", make_icon(tab_png));
+ theme->set_icon("folded", "TextEdit", make_icon(arrow_right_png));
+ theme->set_icon("fold", "TextEdit", make_icon(arrow_down_png));
theme->set_font("font", "TextEdit", default_font);