Show icon based on text length