Last updated
Last updated
You need to use a software supporting transparency on PNG ( So, not paint ).
After this, you need to create a image with transparent background, size 75,75.
Get a gradient you like ( I use and ) and put it on a rounded square with 16 for the value of rounded corners. ( For the size, it's 68, 68 centered ).
Now, take a svg icon you like ( I use ) and put it on the icon.
Now you got your icon :)
You need to use and not parenting directly
Check UI - General Functions
You need to use stencils function in UI - Stencils and draw a rectangle taking your whole panel
Use font functions that adapt the size of your font.
Also, I strongly recommend that you use as many as possible docks. Avoid using magic numbers.
Doing this make it easier to adapt your UI for horizontal display
I also recommend you use Open2D as a proxy function. Like this
The screen mode parameter is optional and never called in the addon, it's a parameter only you can set.
These tips will make you gain countless hours of debugging/making apps and UI