Option Menu populating/manipulating
Posted: Wed May 07, 2008 7:46 pm
Hi, I've been trying to work out these for a while now:
Edit: populating/manipulating via a button script I've worked out now, thank you...
Still can't find out how to do this though:
Let's say, for example, that the longest menuItem is 200px and the menu button is 300px. I can centre the menuItems themselves, but is there a way to now centre these centred menuItems with the button width that contains them?
--Pseudocode
set menuItem 1 to -1 of button "Option Menu" to center of button "Option Menu"
I'd appreciate help, thank you.

Edit: populating/manipulating via a button script I've worked out now, thank you...
Still can't find out how to do this though:
Let's say, for example, that the longest menuItem is 200px and the menu button is 300px. I can centre the menuItems themselves, but is there a way to now centre these centred menuItems with the button width that contains them?
--Pseudocode
set menuItem 1 to -1 of button "Option Menu" to center of button "Option Menu"
I'd appreciate help, thank you.
