Adds support for centered and right-aligned text in dynamic TextFields