From 6ee9833c6f40919cda2802c4d8133601841584f9 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sun, 22 Dec 2019 15:01:13 +0800 Subject: [PATCH] Set proper icon for LineEdit in editor theme --- editor/editor_themes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index a38d6d1f215..6ac20e67196 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -861,6 +861,7 @@ Ref create_editor_theme(const Ref 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);