229
edits
Line 216: | Line 216: | ||
''Text'' elements also accept 'baseline' as reference.<br /> | ''Text'' elements also accept 'baseline' as reference.<br /> | ||
If '''ref''' is a single number, the 2nd word is ignored. | If '''ref''' is a single number, the 2nd word is ignored. | ||
== ''Resize'' helpers == | |||
=== stretchX === | |||
'''parameters''': ((elem,factor,ref='left') | |||
Stretchs horizontally the element . | |||
# factor the <new-width>/<old-width> ratio. | |||
# ref the relative point to keep in-place. May be 'left','center' or 'right'. | |||
* '''elem''' element to be stretched. | |||
* '''factor''' the <new-width>/<old-width> ratio. | |||
* '''ref''' the relative point to keep inplace. May be 'left' (default),'center' or 'right'. | |||
<hr/> | |||
=== stretchY === | |||
'''parameters''': ((elem,factor,ref='top') | |||
Stretchs vertically the element . | |||
* '''elem''' element to be stretched. | |||
* '''factor''' tthe <new-height>/<old-height> ratio. | |||
* '''ref''' the relative point to keep inplace. May be 'top','center' or 'bottom'. | |||
<hr/> | <hr/> |
edits