adjust applet size