#115 use same 'span' terminology for doing layout of content, title and button; fix bug in computation of titleRightSpan