Button Icon Placement

Klaus on-rev klaus at major.on-rev.com
Tue Feb 23 11:52:48 CST 2010


Hi Dan,

> Hi Dan,
> 
>> 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.
> 
> 1. you could add some votes to my 5 year old "enhancement request", maybe the mothership
> will pay attention to this one some time in this century...
> <http://quality.runrev.com/qacenter/show_bug.cgi?id=3265>
> 
> 2. Fiddle around with the MARGINS property!
> Doable, but unpredictable and very uncomfortable.

Sorry, looks like I did not remember correctly, others (and me actually :-D) already posted some solutions for this problem.


Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com




More information about the use-livecode mailing list