Button Icon Placement

Bob Sneidar bobs at twft.com
Tue Feb 23 12:09:00 EST 2010


I would just use a group of objects, and put the code into the group object script. It's more trouble, but you can make anything look like just about anything you want. 

Another approach is to import an image as a control. That way you can simply change the image out for different states. 

Bob


On Feb 23, 2010, at 9:03 AM, Dan Friedman wrote:

> Hello...
> 
> Is there a way to have an icon on a button and have the label centered, but not under the button?  I know if you set the textStyle to left or right, then the icon is centered.  But, if you set the textStyle to centered, then the text lies below the icon.
> 
> My goal is to use a custom button graphic (up and down states) and the button name (label) would display normally, over the icon.
> 
> Any insight would be appreciated.
> 
> -Dan_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list