diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-06 23:42:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-06 23:42:54 +0100 |
| commit | 7b557a4e1fff386639dc8ae040bf86144ad371b6 (patch) | |
| tree | 9fe3c2d38c693b996f103439256da73a6f1191cf /editor | |
| parent | e35e45a7889a4728f45ba3a214152297f64ea839 (diff) | |
| parent | 2773c12156565e5b0382444f647abc3a6dc1b3f0 (diff) | |
| download | redot-engine-7b557a4e1fff386639dc8ae040bf86144ad371b6.tar.gz | |
Merge pull request #13409 from YeldhamDev/textedit_disabled
Add disabled theme to TextEdit
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/editor_themes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index ae29b7420e..23c32a5793 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); |
