Count spaces in the size of text
Adds the layer preview for text drawing