show icon based on text length