Use space for indent
Change attribute name

Add a default listener to text attr

Center horizontally the genereted image