Button text on icon image

Klaus Major klaus at major-k.de
Mon May 23 13:02:10 EDT 2005

Hi Dave

> On 23 May 2005, at 17:10, Klaus Major wrote:
> Hi Klaus
>>> Hi
>>> I just noticed that a button's label can now appear in front of  
>>> the button's icon.
>>> Previously, it would get hidden behind the image. (When was this  
>>> fixed/changed?)
>> are you yure?
> You bet. :)

OK :-)

> But do you mean sure that it now appears in front of the image, or  
> sure that it used to appear behind the image? Anyway, I'm sure of  
> both, just not sure when the change occurred.
>> That's what i know, fiddling with the margins property, but never  
>> with satisfying results...
> One way is to have the text left-aligned, set the top, right and  
> bottom margins to 0, and then increase the left margin until you're  
> happy. But this isn't so good when you want to dynamically change  
> the label. So I was hoping to keep the label center-aligned, and  
> adjust top and bottom margins.
> But finding the right settings is difficult.

This is only possible, if at all, on ONE platform*** only ONE  
(static) label and with lots of testing...
*** The slight font differences!

> I get the text centered on the button, but part of the icon  
> disappears. Get the icon positioned, and the text shifts. It's like  
> one of those comedy routines when the guy closes one drawer and  
> another drawer opens. (Perhaps I should remove the red nose before  
> I do this.)
>> http://support.runrev.com/bugdatabase/show_bug.cgi?id=1032
> Interesting! I found Bugzilla #819, where Tuv mentioned fixing it  
> for 2.2, although the bug is still marked  "assigned".


Right, 819 is almost identical to 1032 except the strange, kind of  
"off topic" comments of Mr. Miller.
Maybe another misunderstanding, although i think you cannot  
misunderstand that problem!

> Cheers
> Dave

Sayonara Cragg-san :-)

Klaus Major
klaus at major-k.de

More information about the Use-livecode mailing list