No transparency (make a Button background transparent)

Hello,
I want to change a button background color.
I have defined the color with 4 parameters RGB & Alpha, but there is no transparency but a gray with alpha= 0.
When i try in a new screen in the same app with just a button and a label , it,s work.

Did you have an idea?

What setting do you have for button shape in designer ?

Show all relevant blocks, settings in Designer etc...

Try

1 Like

you need to set color of arrangement to none
image

already set to none for all arrangements

I try with an empty png as boban suggested and it worked.
But i suppose there is an other solution with color parameters

buttonTransparent

works for me. :wink: or use 16777215 as Tim indicates

To make transparent you have to use a colour number:16777215

image

image
(Screen colour is orange, buttonShape is rectangular)

1 Like

Haven't we already discussed this problem/bug here:

Yes, the subject has already been covered but i don't see any solution

My proposed solution working for me, companion and compiled with default theme

I found a solution, (for my app at least...)
I initialize the buttons when the window opens rather than in the designer.
I set the shape of the buttons to rounded, this removes the shadow with the value 16777215 for the background color.
If I set the color with RGB & Alpha, I have transparency but the rectangular shadow is present despite the rounded parameter.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.