Button: new color changes it's shape

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

Button: new color changes it's shape

Post by townsend » Mon Jul 02, 2012 3:21 pm

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.

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Button: new color changes it's shape

Post by Klaus » Mon Jul 02, 2012 3:41 pm

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)

townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

Re: Button: new color changes it's shape

Post by townsend » Mon Jul 02, 2012 4:02 pm

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.

Post Reply