Page 1 of 1

Button: new color changes it's shape

Posted: Mon Jul 02, 2012 3:21 pm
by townsend
I changed the background on one of my buttons and noticed that,
not only did the color change but it's shape changes as well.
The Standard Push Button starts out with nice rounded corners.
As soon as you change the backGroundColor, the round corners
change to square.

Is there any way to prevent this?
Or... to get all my buttons to match,
I guess I can change then all the Rectangle.

Re: Button: new color changes it's shape

Posted: Mon Jul 02, 2012 3:41 pm
by Klaus
Standard "push"and "default" buttons (and other controls) are supplied by the underlying OS AS IS!

Now if you change e.g. the bg color, the complete buttons turns into an ugly emulated LiveCode button 8)

Re: Button: new color changes it's shape

Posted: Mon Jul 02, 2012 4:02 pm
by townsend
Thanks Klaus-- that's good to know.

That makes sense. Yes, of course, any Graphic Effects used for buttons,
also would force liveCode to use it's own custom buttons instead of the
default buttons from the native OS.