I did need to add getActiveScreen() at the beginning, otherwise I got: "getItemById" is not defined"
so
Code: Select all
getActiveScreen().getItemById(0x<panel item id>).getContainer().setPosition(0,0)
Code: Select all
getActiveScreen().getItemById(0x<panel item id>).getContainer().setPosition(0,0)