Hello,
I just found what seems to be a little bug in AFX ScriptUI, when adding an icon to items in a dropdownlist, the icon is misplaced, only when using the new UI, legacy UI displays it correctly:
here's the screenshot (new UI on the left):
The code used:
var dropdown = group.add("dropdownlist",undefined,"Rigging");
dropdown.alignment = ["right","center"];
dropdown.items[0].image = ScriptUI.newImage("btn_autorig.png");
Is this a known issue?
Is there a workaround?
I'm trying to create an "expert mode" to Duik, to be able to use a smaller panel with only icons instead of texts, and really need dropdownlists to be able to display icons correctly...