I'm trying to build an input() prompt using a token's icon as shown in the wiki input() function entry (screenshot 1), where the tokens' name appears to the right of the token's image in a drop-down selection list.
The wiki example input() code for acheiving what's shown in screenshot 1 is:
"targetNum|"+imgList+"|Select Target|LIST|SELECT=0 ICON=TRUE ICONSIZE=30",
But it never mentions how the list (+imgList+) should be constructed.
I have the following:
[h: vList = listAppend(vList, getTokenImage("", vTok))]
[h: vList = listAppend(vList, getName(vTok))]
But when I use:
"vSource|"+vList+"|Select Source Token|LIST|SELECT=0 VALUE=STRING ICON=TRUE ICONSIZE=30",
in my input() dialog, I get what's shown in the second screenshot. I'm wondering how I can make it so that the icon image and token name appear on the same line in the drop-down list?
Thanks in advance for any support!