diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-29 17:04:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 17:04:46 +0200 |
commit | 1af18ab2355fffe93c95b4c27e4f63c38c655590 (patch) | |
tree | 3472555b7bbb35c723c6bcc0e27bf7f61be69346 /editor | |
parent | 8f337b6652f63c31eba00a285fffaaeabfb66a0b (diff) | |
parent | 350bcce041ebfdb6f250e93d9d08d7523a4fb88c (diff) |
Merge pull request #28399 from YeldhamDev/textedit_expose_tab_fold
Expose 'TextEdit's tab drawing and folding to GDScript
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_themes.cpp | 2 |
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); |