diff options
| author | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-22 15:01:13 +0800 |
|---|---|---|
| committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-22 15:01:59 +0800 |
| commit | 6ee9833c6f40919cda2802c4d8133601841584f9 (patch) | |
| tree | 5363dc2d3cf1d3689451b5d088c1e46935e7c697 /editor | |
| parent | e21872f4b9798c14b2840f205eff7aa931f02c0d (diff) | |
| download | redot-engine-6ee9833c6f40919cda2802c4d8133601841584f9.tar.gz | |
Set proper icon for LineEdit in editor theme
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 a38d6d1f21..6ac20e6719 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -861,6 +861,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_stylebox("normal", "LineEdit", style_widget); theme->set_stylebox("focus", "LineEdit", style_widget_focus); theme->set_stylebox("read_only", "LineEdit", style_widget_disabled); + theme->set_icon("clear", "LineEdit", theme->get_icon("GuiClose", "EditorIcons")); theme->set_color("read_only", "LineEdit", font_color_disabled); theme->set_color("font_color", "LineEdit", font_color); theme->set_color("font_color_selected", "LineEdit", mono_color); |
