229
edits
Line 218: | Line 218: | ||
== ''Resize'' helpers == | == ''Resize'' helpers == | ||
=== stretchX === | === stretchX === | ||
'''parameters''': | '''parameters''': (elem, factor, ref='left') | ||
Stretchs horizontally the element . | Stretchs horizontally the element . | ||
* '''elem''' element to be stretched. | * '''elem''' element to be stretched. | ||
* '''factor''' the <new-width>/<old-width> ratio. | * '''factor''' the <new-width>/<old-width> ratio. | ||
* '''ref''' the relative point to keep inplace. May be 'left' (default),'center' or 'right'. | * '''ref''' the relative point to keep inplace. May be 'left' (default),'center' or 'right'. | ||
<hr/> | <hr/> | ||
=== stretchY === | === stretchY === | ||
'''parameters''': ((elem,factor,ref='top') | '''parameters''': ((elem,factor,ref='top') |
edits