CGCookie / addon_common

GNU General Public License v3.0
41 stars 7 forks source link

UI: icons in buttons #15

Closed design3d-blender closed 4 years ago

design3d-blender commented 4 years ago

Hi!, i've been trying to create an ui with cookiecutter for some days now, and i wanted to add icons to the buttons (like the options panel in blender, an icon on the left of the button and then the label). But i have been completely unsuccessful. Is this something that should be theoretically possible, or are there any limitations that prevent this? (Im not very skilled on programming yet, it could be something totally stupid that i am missing)

design3d-blender commented 4 years ago

It was a rather simple thing, adding an ui.img with the parent set to the button, maybe my stupidity will guide others in the future at least