Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
2f2724a4
Unverified
Commit
2f2724a4
authored
Dec 22, 2019
by
Rémi Verschelde
Committed by
GitHub
Dec 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #34536 from timothyqiu/line-edit-icon
Set proper icon for LineEdit in editor theme
parents
0df1122a
6ee9833c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
editor_themes.cpp
editor/editor_themes.cpp
+1
-0
No files found.
editor/editor_themes.cpp
View file @
2f2724a4
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment