LUN-1142 -- detect if this plugin is rendered from a text plugin by chec...

...king 'inherit_from_parent' attr in the context dict; and if the horiz_space is empty, the alignmetn is not CENTER then the horiz space will be 15px;