Merge pull request #8748 from Calinou/doc-importing-images-svg-text

Document importing SVG images with text
This commit is contained in:
Max Hilbrunner
2024-01-13 15:26:37 +01:00
committed by Max Hilbrunner
parent e57e1b40ae
commit 525328c0c3
3 changed files with 72 additions and 1 deletions

View File

@@ -1756,6 +1756,14 @@ class will then appear with its new icon in the editor::
.. image:: img/class_name_editor_register_example.png
.. tip::
SVG images that are used as custom node icons should have the
**Editor > Scale With Editor Scale** and **Editor > Convert Icons With Editor Theme**
:ref:`import options <doc_importing_images_editor_import_options>` enabled. This allows
icons to follow the editor's scale and theming settings if the icons are designed with
the same color palette as Godot's own icons.
Here's a class file example:
::