Page 1 of 1

Button colour

Posted: Fri Apr 13, 2012 12:46 pm
by HJay
Hi

I have been using the ‘push button’ button and have just started playing around with changing the appearance. The standard grey ‘push button’ has a slightly different coloured bottom half to its top half giving the appearance of being slightly rounded. When I change the colour to say green it loses this two tone nature and becomes flat. It also seems to change the corners of the button from rounded to square. I have played with some of the other settings but I do not seem to be able to set the two tone colours? Is there a way to do this that isn’t to complicated?

Many thanks

HJay

Re: Button colour

Posted: Mon Apr 30, 2012 3:06 pm
by kenift
I've also been struggling with inconsistent button behavior.
In button/graphics_effects/ select Drop Shadow, Inner Shadow, Inner Glow and start with settings like:

Color: Black, Blend: Normal, Opacity: 180
Spread: 0
Size: 21
Distance: 5
Angle: 222

It would be nice if the defaults were something half sensible, but then that would be too easy...

Re: Button colour

Posted: Mon Apr 30, 2012 3:57 pm
by BvG
The nice rounded buttons are the default OS button style. When you change certain appearance properties like the backgroundColor, you change the button to the "internal" rendering, which is.. basic at best.

The easiest way to do your own rounded buttons is to make the pressed and the "default" of the button as an image, then set the icon and the hilitedIcon of a button who'se style is "transparent".

And of course the defaults for blending are sensible for general blendings, not for emulating buttons ;)