Centering text optional

The user can specify whether the text should be centered or stretched
over the available space