legend resize