aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/default_theme.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-12-06 23:42:54 +0100
committerGitHub2017-12-06 23:42:54 +0100
commit7b557a4e1fff386639dc8ae040bf86144ad371b6 (patch)
tree9fe3c2d38c693b996f103439256da73a6f1191cf /scene/resources/default_theme/default_theme.cpp
parente35e45a7889a4728f45ba3a214152297f64ea839 (diff)
parent2773c12156565e5b0382444f647abc3a6dc1b3f0 (diff)
downloadgodot-7b557a4e1fff386639dc8ae040bf86144ad371b6.tar.gz
godot-7b557a4e1fff386639dc8ae040bf86144ad371b6.tar.zst
godot-7b557a4e1fff386639dc8ae040bf86144ad371b6.zip
Merge pull request #13409 from YeldhamDev/textedit_disabled
Add disabled theme to TextEdit
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r--scene/resources/default_theme/default_theme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 819d16f61..651b7543c 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -450,6 +450,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_stylebox("normal", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3));
theme->set_stylebox("focus", "TextEdit", focus);
+ theme->set_stylebox("read_only", "TextEdit", make_stylebox(tree_bg_disabled_png, 4, 4, 4, 4));
theme->set_stylebox("completion", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3));
theme->set_icon("tab", "TextEdit", make_icon(tab_png));