updated Text with support for the textAlign property