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

Scott Rossi scott at tactilemedia.com
Thu Oct 8 04:21:43 EDT 2015


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






More information about the use-livecode mailing list