text alignment buttons were added to the preview demo