Changing backgroundColor of a button changes its style ?

Alex Tweedly alex at tweedly.net
Mon Jun 18 14:20:42 EDT 2018


On 18/06/2018 18:17, Richard Gaskin via use-livecode wrote:

> >
> > What am I doing wrong or missing ?
>
> If you apply a non-standard color, it's no longer a standard button.
>
> We have a roundrect style that may work for the type of non-standard 
> button you're looking for.
>
I should probably take it as a good reason why I shouldn't be changing 
the button colour :-)
> But AFAIK the "standard" button relies on OS routines to render its 
> shape, gradient fill, etc., and the OS APIs provide little support for 
> non-HIG alterations.
>
OK - UI changed to something better .... Thank You !

-- Alex.




More information about the use-livecode mailing list