implement size for text and paragraph fields