diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-13 12:54:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 12:54:57 +0200 |
commit | 68ab428d4d2cbb3bd9d86798a0ce09b7bfcdd9f5 (patch) | |
tree | d8fafa6566c488bfe04372a3f3a0717f7c2155a7 /editor/editor_themes.cpp | |
parent | 623529ce2fad5328a920666845bc558b0acceb99 (diff) | |
parent | 81fb81de9d9fe7ae075bd06a3877d6cb452af67f (diff) |
Merge pull request #20155 from Tunous/line-edit-clear
Add clear button to search fields
Diffstat (limited to 'editor/editor_themes.cpp')
-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 0a22026591..76fc7fd0cd 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -828,6 +828,8 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_color("font_color", "LineEdit", font_color); theme->set_color("cursor_color", "LineEdit", font_color); theme->set_color("selection_color", "LineEdit", font_color_selection); + theme->set_color("clear_button_color", "LineEdit", font_color); + theme->set_color("clear_button_color_pressed", "LineEdit", accent_color); // TextEdit theme->set_stylebox("normal", "TextEdit", style_widget); |