Page 1 of 1
button won't display properly
Posted: Wed Mar 21, 2012 3:50 am
by herbwords

- button.tiff (11.29 KiB) Viewed 3045 times
Hi to All,
I changed the script in this button to make it red and say Locked or be green and say Unlocked. The button assumed this square shape and I can't figure how to get it's shape to look like it use to. I'm attaching a picture.
Here's the form I used:
set the backgroundColor of me to "red"
set the name of me to "Locked"
Thanks,
Patrick
Re: button won't display properly
Posted: Wed Mar 21, 2012 5:11 am
by dunbarx
Setting the background color seems to square off the shape of a pushButton. Try setting the style of your button to "roundRect". Is this what you wanted to see?
Craig Newman
Re: button won't display properly
Posted: Wed Mar 21, 2012 2:48 pm
by herbwords
Hi Craig,
I tried that and it looks OK on my Mac but weird on Windows. The other way looks OK on Windows and weird on my Mac. I hope I don't have to make 2 versions just for a button! I posted 2 pics of what it looks like on Windows when I make it a rounded rect btn and size it for the Mac and how it looks on my Mac.
Thanks,
Patrick
Re: button won't display properly
Posted: Wed Mar 21, 2012 3:03 pm
by jmburnod
Hi,
Why not using icons instead properties of btns ?
Best
Jean-Marc