Fix text widget sizing problem.

The icon sizing needs to start with the text size, it can't be done in the wrong order. So
calculate the usedWidth specially for autoshrinkage.