Resize icons to be consistent with other docks

This commit is contained in:
jelo 2026-01-12 05:02:22 +00:00
parent 1f292ae0a9
commit 2c7cbd59d2
No known key found for this signature in database
GPG key ID: C21D35248785CD20
5 changed files with 6 additions and 6 deletions

View file

@ -413,7 +413,7 @@ void EditorLog::_add_log_line(LogMessage &p_message, bool p_replace_previous) {
Ref<Texture2D> icon = theme_cache.error_icon;
log->add_image(icon);
log->push_bold();
log->add_text(" ERROR: ");
log->add_text(U"ERROR: ");
log->pop(); // bold
_set_dock_tab_icon(icon);
} break;
@ -422,7 +422,7 @@ void EditorLog::_add_log_line(LogMessage &p_message, bool p_replace_previous) {
Ref<Texture2D> icon = theme_cache.warning_icon;
log->add_image(icon);
log->push_bold();
log->add_text(" WARNING: ");
log->add_text(U"WARNING: ");
log->pop(); // bold
_set_dock_tab_icon(icon);
} break;

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><circle cx="4" cy="4" r="4" fill="#ff5f5f"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="4" fill="#ff5f5f"/></svg>

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 114 B

Before After
Before After

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><path fill="#ff5f5f" d="M4 8a1 1 0 0 1 0-8z"/><path fill="#ffdd65" d="M4 0a1 1 0 0 1 0 8z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#ff5f5f" d="M8 12a1 1 0 0 1 0-8z"/><path fill="#ffdd65" d="M8 4a1 1 0 0 1 0 8z"/></svg>

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 163 B

Before After
Before After

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><circle cx="4" cy="4" r="4" fill="#e0e0e0"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="4" fill="#e0e0e0"/></svg>

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 114 B

Before After
Before After

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><circle cx="4" cy="4" r="4" fill="#ffdd65"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="4" fill="#ffdd65"/></svg>

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 114 B

Before After
Before After