Set the Opacity of a Button Background

RM richmondmathewson at gmail.com
Tue Mar 1 14:15:18 EST 2016



On 1.03.2016 21:11, Sannyasin Brahmanathaswami wrote:
> I may have asked this before, but am I the only one who wishes we could set the opacity of the background of a button to discrete levels without having to change the blend level of the whole button?
>
> Yes, I realize that we can create a graphic object behind the button and set that, then make the button 100% transparent, set the graphic 1 layer below the buttonand group the two etc.
>
> But if one is dynamically creating buttons based on some JSON or XML then you have to double-up so to speak on creating objects, making sure the layer of the graphic is just right etc..
>
> Worth of an enhancement request? or perhaps there is a way already that I have not discovered?
>
> BR
>
>

Do you mean that you want a button where an icon/image is set at 100% 
opacity and the rest of
the button to, say, 50% transparency?

Would be grateful if you could clarify this.

Richmond.




More information about the use-livecode mailing list