legend resized