Resizables shift-key behaviour / preserve aspectRatio option / containment
Hi all!
I have created two tickets:
http://dev.jquery.com/ticket/1711
where I fixed the buggy shift-key behaviour of resizables and
http://dev.jquery.com/ticket/1712
where I propose an aspectRatio-option for resizables which lets you preserve
the aspect-ratio of your resizable.
Im curious about what you think about the aspectRatio-option. Me personally
I'd really like to see this feature in the next release!
I'll now work on a better way of integrating a containment option to
resizables. I think minTop, minLeft, maxRight, maxBottom options would be the
best way and maybe adding a convenience option "containment" and then -
if "containment" is set - just calculating the minTop, minLeft, maxRight,
maxBottom values once... What do you think about that approach? I think it's
probably the fastest way and gives you full control over your resizables.
Cheers, Christoph