applying ICON to OPtion Menu

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

applying ICON to OPtion Menu

Post by Nakia » Sun Feb 26, 2012 10:36 am

Hi,

I have an option menu button that i am trying to apply a button image to but I wish to keep the "Display Name" enabled on the button, so I can see the current state of the button at all times..(there are 20 options within so not practical to display a new image for each pItemName)

The issue is when I have the "Display Name" option enabled in the property inspector it shifts the button ICON Image and hence I cant orientate the image correctly over the button.

I need to keep the "Display Name" on so I can see the current state of the button!!

see attached images for details?

any ideas?
Attachments
No_Label.tiff
No_Label.tiff (6.43 KiB) Viewed 4658 times
Name_ON.tiff
Name_ON.tiff (5.79 KiB) Viewed 4658 times

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4000
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: applying ICON to OPtion Menu

Post by bn » Sun Feb 26, 2012 11:33 am

Hi Nakia,

use the margins to adjust the image.

in the properties inspector -> Text Formatting -> Margins.
The default is 4. That means that the left, top, right, bottom margin is set to 4.
To set them individually try something like 4,15,4,4

Look up margins in the dictionary.

Kind regards

Bernd

Nakia
Posts: 425
Joined: Tue Feb 21, 2012 8:57 am

Re: applying ICON to OPtion Menu

Post by Nakia » Sun Feb 26, 2012 12:16 pm

bn wrote:Hi Nakia,

use the margins to adjust the image.

in the properties inspector -> Text Formatting -> Margins.
The default is 4. That means that the left, top, right, bottom margin is set to 4.
To set them individually try something like 4,15,4,4

Look up margins in the dictionary.

Kind regards

Bernd
Thanks so much, could only get it working left justified but that is okay..

Probably will get it to work on "Centered" but just need to play with the values some more..

Thanks again mate..

Post Reply

Return to “Multimedia”