diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-06-08 09:41:45 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-06-08 10:31:45 -0300 |
commit | 637927f8035bbffc4ffb0a71115071eaa1a82f3b (patch) | |
tree | 57fffe02d012c7fd34da4f4f1eb2a18d8b4d7d67 /scene/resources/default_theme/default_theme.cpp | |
parent | 201d5a7fc53c041e011ad7a79b805f5989216d28 (diff) | |
download | redot-engine-637927f8035bbffc4ffb0a71115071eaa1a82f3b.tar.gz |
Add generic file icon and its modulation to the 'FileDialog'
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index de39fac627..fd5c861eb5 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -726,7 +726,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const // FileDialog theme->set_icon("folder", "FileDialog", make_icon(icon_folder_png)); + theme->set_icon("file", "FileDialog", make_icon(icon_file_png)); theme->set_color("folder_icon_modulate", "FileDialog", Color(1, 1, 1)); + theme->set_color("file_icon_modulate", "FileDialog", Color(1, 1, 1)); theme->set_color("files_disabled", "FileDialog", Color(0, 0, 0, 0.7)); // ColorPicker |