28 Nov 2006 9:57 AM #1
resizable with draggable using constrainTo?
How would I go about using the resizable component with draggable set to true but also be able to tell it to constrain to a parent element?
28 Nov 2006 5:59 PM #2
You can manually initialize the DD pretty easily.
16 Apr 2007 5:15 PM #3
Possible Bug with resizable when using constrainTo
I am playing around with a resizable image (that is draggable) and having it constrained to a container element.
If you goto this link: http://www.qwikioffice.com/resizable/test.html
you will notice the following:
1.) When the page loads you can drag the image around, and it is constrained to the container (light grey backround).
2.) But if you resize the image and then drag it around the container, you can see that the constraint is tied to the original dimensions of the image.
Is This a possible bug? If not... how can keep the image properly constrained within the container during and after a resize?
12 May 2007 12:26 PM #4
Hi mxracer. I'm interested in your solution, any chance you can fix the link?
16 May 2007 10:09 AM #5
Here are the urls to 2 working test pages.
These currently only work with version 1.0 of Ext. There is a bug in versions 1.0.1 and 1.0.1a that I am told is fixed in svn but won't be available to the general public until the next release.
By Animal in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 22 Feb 2007, 3:14 AM
By Slapyo in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 28 Nov 2006, 8:59 PM
By Slapyo in forum Ext 1.x: BugsReplies: 3Last Post: 28 Nov 2006, 4:24 PM
By faizur in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 27 Nov 2006, 10:49 AM
By mambo in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 25 Oct 2006, 4:06 PM