Page 1 of 1
Strange behavior of the buttons ... color
Posted: Wed Jun 19, 2013 4:12 pm
by gpb01
I'm experiencing a strange behavior with the buttons ...
... if you take a normal "button" and you change the
style in "roundrect" ... the
Border Color will be ignored and the border takes the color of the
Text ...
How can I have a "roundrect" button with Border Color different from the Text color ???
TIA,
Guglielmo
P.S. : This happens both with LiveCode 5.5 and LiveCode 6.0.2
Re: Strange behavior of the buttons ... color
Posted: Wed Jun 19, 2013 5:55 pm
by dunbarx
I see this as well. If I set the border color, it only appears with a pushButton or a rectangle. All the others show black. Or nothing if transparent.
There is also some relationship to the "3-D" property. If set, in one of the styles where a border color is displayed, the border color is disabled, and this is true in fields as well.
Craig Newman
Re: Strange behavior of the buttons ... color
Posted: Wed Jun 19, 2013 6:48 pm
by bn
Hi Gugliemo,
I don't know the answer but if you want to cheat a bit you can get a round rectangle button with black text (or any color you like) and the border color you like.
choose your round rectangle button, in the properties inspector choose graphic effects -> outerglow
choose a color
then
blendmode normal
filter gaussian
opacity 255
size 1
spread 255
you can change size
set the borderwidth of your round rectangle button to 0 (e.g. from the message box)
Now you have a round rectangle button with a "bordercolor" of your choice
Kind regards
Bernd
Re: Strange behavior of the buttons ... color
Posted: Wed Jun 19, 2013 7:36 pm
by gpb01
Hi Bernd,
that's great !!! Works like a charm
Thanks a lot !!!
Guglielmo