When token width exceeds scrollView width, instead of going to the next line, take the remaining available space

When token width exceeds scrollView width, instead of going to the next line (which looks like a bug), take the remaining available space.

Basically, if you type a really really long text, observe that it will go to next line, although next line won't fit as well. So, instead of doing that, we should take up the remaining space.