buttons: The list of buttons to add the shadow to.
radius: The radius of the shadow (in pixels).
dx: The X-axis offset of the shadow (in pixels).
dy: The Y-axis offset of the shadow (in pixels).
color: The color of the shadow in hexadecimal format (e.g. "#000000").
Note: This shadow is for the button text. For the shadow that goes under the button, I'm still working on it.
Update:
Function inputs have been completely changed, they now accept lists of buttons and each parameter also accepts lists to individually configure each button, if you have a list of buttons with more than 1 button and in the parameters only the first button is configured, the other buttons will take those settings.
Color inputs now accept native App Inventor colors and colors in hexadecimal.
I give you a suggestion, register button aside not with the main component, use id feature in the main block, it will help user to register button or buttons in two, but designs in a one.
I had already implemented the shadow behind the button, but I removed that function because when clicking the button, the shadow disappeared, then I managed to make it stay, but I had to remove the interaction of the button with the native events of App Inventor.
So for now the shadow will have to wait a bit.
This is a look at what was done, the shading is very faint but it looks good.....
About using ID in the block, it would be nice if I created some events to identify which block was clicked, but I don't have any events created, since this extension works with App Inventor's native events.
Or I don't know if you mean something different and I misunderstood.
I imagine you suggest the list of buttons to put the same style on that list and not use too many blocks?
Dear @Usane,
while this extension is still really awesome and powerful (@Joejsanz don't stop to develop yours !!!) please do not forget these two: @gordonlu310 's com.gordonlu.buttonicons.aix
and @TIMAI2 's uk.co.metricrat.buttonmaticon.aix
Now we have a "big choice" for customizing buttons.
Great !
You are right but, those are not focusing on shaping the button itself. For example I really missed the radius of the fillets. Now we have it. Now I miss the triangle, hexagon and star shapes, haha.