implemented label max width