AW: How to assign icons to a button AND show the name?

Tiemo Hollmann TB toolbook at kestner.de
Thu Oct 8 05:10:11 EDT 2015


Hi Scott - wow!
What a surprise, thats just what I was looking for and it works.
It seems to be a new hidden property, not to be edited from the inspectors
palette.
Thanks
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Scott Rossi
Gesendet: Donnerstag, 8. Oktober 2015 10:22
An: LiveCode Mail List <use-livecode at lists.runrev.com>
Betreff: Re: How to assign icons to a button AND show the name?

Hi Tiemo:

What version of LiveCode?  In LC 6.7 and later you can set the iconGravity
property of a button, but in pre 6.7 versions, icon positioning is somewhat
limited.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 10/8/15, 1:01 AM, "use-livecode on behalf of Tiemo Hollmann TB"
<use-livecode-bounces at lists.runrev.com on behalf of toolbook at kestner.de>
wrote:

>Hello,
>
>I want to assign four different icons for active-hilite-hover-disabled 
>to a button AND show the name/label of the button.
>
>Assigning the icon works fine, showing the name also, but when having 
>icons AND showing the name, the icon will be pushed up and half out of 
>the borders of the button. I tried all kinds of settings with margins, 
>border, and other properties, but didn't find a way, how I can show the 
>name/label of the button over a centered full size icon.
>
>I can workaround this by putting the label into the icon images, but 
>then I have the "blurred issue" of text in bitmap images. And creating 
>a nice option menu with icons also is a hassle.
>
>I also tried to workaround with putting the images into a group of the 
>button, but didn't succeeded to simulate the four button states, when 
>hovering and clicking.
>
>Is this a bug, wanted, or do I oversee anything?
>
>Thanks
>
>Tiemo
>
> 
>
> 
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list