I'm trying to execute that code to put a background color on my popup menu.
- Code: Select all
var popupmenu = plugins.window.createPopupMenu()
var _item = popupmenu.addMenuItem('<html><b>Marco</b></html>',myMethod)
_item.setBackgroundColor("#808080")
It doesn't work. I've tried to use the html instead but without good results because I have a top border that I'm not able to change.
Thanks in advance for your time