mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add generic file icon and its modulation to the 'FileDialog'
(cherry picked from commit 637927f803
)
This commit is contained in:
parent
f3fcdfbdd0
commit
2652a2d184
5 changed files with 17 additions and 0 deletions
|
@ -759,7 +759,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue