res:dock:: update the width of preview window for applet.