How to color categories #107
-
I want to ask how to color those categories like in image from readme Also is there any demo for categories? (Well icons from readme img look nice) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @pietru2004 - these are icons downloaded from game-icons.net and then manually coloured via Inkscape. That being said, this can be very complicated and colouring icons automatically would be quite useful. Also maybe having a set of "icons" to choose from (with color picker) might be a cool feature for this addon! |
Beta Was this translation helpful? Give feedback.
-
@pietru2004 created #110 |
Beta Was this translation helpful? Give feedback.
Oh wow, good shout! I discovered there is https://docs.godotengine.org/en/stable/classes/class_treeitem.html#class-treeitem-method-set-icon-modulate
This can be implemented very easily:
color
attribute and make it configurable to the entity configuration (point 5 on https://bitbra.in/pandora/#/concepts/editor)color
inherit from parent by default unless overridden