Is it possible to resize a custom quick menu panel by javascript?

All said in the title