Fix text glitchiness in IconDelegate and create a bit more space for text
The text was a bit spazzy before. This patch does the following:
- Horizontally center the text. It's not what I wanted, but it's not bad and it works better.
- Use anchors with AnchorAnimations to position and move
textLayout
. There doesn't seem to be any glitchiness with the AnchorAnimations. - Do not change the width of the icon. This gives the text a bit more room.
These changes also let us use YAnimator.
Edited by Noah Davis