aboutsummaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias2017-11-30 01:53:15 -0200
committerMichael Alexsander Silva Dias2017-12-01 01:32:26 -0200
commit2773c12156565e5b0382444f647abc3a6dc1b3f0 (patch)
treee0618a981b173665d0147f91e0d81d9bc07e52e8 /editor
parentea70afc9b43b5ebbd9c5731f28587d9c552712f3 (diff)
downloadgodot-2773c12156565e5b0382444f647abc3a6dc1b3f0.tar.gz
godot-2773c12156565e5b0382444f647abc3a6dc1b3f0.tar.zst
godot-2773c12156565e5b0382444f647abc3a6dc1b3f0.zip
Add disabled theme to TextEdit.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_themes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index ae29b7420..23c32a579 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -793,6 +793,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
// TextEdit
theme->set_stylebox("normal", "TextEdit", style_widget);
theme->set_stylebox("focus", "TextEdit", style_widget_hover);
+ 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_color("font_color", "TextEdit", font_color);