Change panel dimensions programmatically from plugins

How can I change the width and height of a panel from inside my components?