tichy
(tichy)
November 29, 2024, 2:46pm
1
Hey there,
I managed to use a custom Icon for an Operator with the icon_value attribute.
This works well.
However… this is not available on props or labels or menus…
Is there a way to use custom icons on props or menus ory anything else than operators?
tichy
(tichy)
November 29, 2024, 2:50pm
2
Ok… it works on Label too… but on a prop the icons is not showing up
Are you trying to use it in a different way for the property? Since it should work the same for property as it does for operators etc, such as:
layout.prop(self, "my_property", icon_value=icons["ICON_NAME"].icon_id)
tichy
(tichy)
November 29, 2024, 5:22pm
4
I think it is a limitation of
for example IntProperty, since it works for label …
Oh yeah now that you say it, I guess since there is not really space for it since there is a decrease arrow button there instead.
In this case I would just create a empty label on the same row with the icon and have it beside the prop.
1 Like