Set the Opacity of a Button Background
Scott Rossi
scott at tactilemedia.com
Thu Mar 3 14:43:34 EST 2016
This a great solution Paul. And by using a roundrect graphic in place of
a button, you can create pill-style (fully radiused) button -- unless
there's a radius setting for roundrect buttons I've missed somewhere.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 3/3/16, 6:41 AM, "use-livecode on behalf of Paul Hibbert"
<use-livecode-bounces at lists.runrev.com on behalf of paul at livecode.org>
wrote:
>You are more than welcome, like most people on this list I¹m just pleased
>to help. :)
>
>I¹m sure you¹ll realize, but the key to this effect is using the Ink
>setting blendHardLight' with neutral colours, then any tone above 50%
>will darken the colours below and any tone less than 50% will lighten the
>colours below.
>
>Regards,
>
>Paul
>
>> On Mar 2, 2016, at 2:54 PM, Sannyasin Brahmanathaswami
>><brahma at hindu.org> wrote:
>>
>> Aloha Paul:
>>
>> wow... awesome.. you did it! this works perfectly as needed.
>>
>> So I can just set up a template button and store this and create all
>>new buttons according.
>>
>> Outstanding.. Big Mahalo from Hawaii
>>
>> BR
>>
>> On March 1, 2016 at 11:26:57 AM, Scott Rossi
>>(scott at tactilemedia.com<mailto:scott at tactilemedia.com>) wrote:
>>
>> By adjusting some colour values and the ink mode I could achieve what I
>>think you are looking for, however I may have misunderstood, because I
>>don¹t quite understand the bit about having 50% opacity of a clear
>>background!
>>
>> Link to demo stack with my interpretation:
>>https://www.dropbox.com/s/xhjqlx0zhdeyq2f/Button%20Demo.livecode?dl=0
>>
>> HTH
>>
>> Paul
More information about the use-livecode
mailing list