mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix Huge .tscn Icon and icon in background of File System panel
This commit is contained in:
parent
705b7a0b0b
commit
81395cf9bd
3 changed files with 26 additions and 2 deletions
|
@ -962,6 +962,9 @@ void FileSystemDock::_update_file_list(bool p_keep_selection) {
|
|||
files->set_max_text_lines(2);
|
||||
files->set_fixed_icon_size(Size2(thumbnail_size, thumbnail_size));
|
||||
|
||||
const int icon_size = get_theme_constant(SNAME("class_icon_size"), EditorStringName(Editor));
|
||||
files->set_fixed_tag_icon_size(Size2(icon_size, icon_size));
|
||||
|
||||
if (thumbnail_size < 64) {
|
||||
folder_thumbnail = get_editor_theme_icon(SNAME("FolderMediumThumb"));
|
||||
file_thumbnail = get_editor_theme_icon(SNAME("FileMediumThumb"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue