Announcement
Collapse
No announcement yet.
X
-
Hi,
We will still be on the 3.1 for a while - is there any possibility to have the changes merged there too please?
thanks
Leave a comment:
-
We have now added dragResizeMove notification events, and while we were in there, an implementation of "keepInParentRect".
This will show up in nightly builds on the 4.0d branch going forward (dated March 15 and above).
Regards
Isomorphic Software
Leave a comment:
-
Hi,
so is there an event which fires when a DrawItem is being resized when the user is dragging a knob?
thanks,
Leave a comment:
-
But the DragMove doesn't seem to fire when you're resizing a DrawItem (using com.smartgwt.client.types.KnobType.RESIZE). This also to prevent the user from resizing a DrawItem outside its parent DrawPane's size.
Leave a comment:
-
OK thanks. We'll keep it in mind :)
Meanwhile, to do something manually, can you add a DragResizeMoveHandler on DrawItem ?
Leave a comment:
-
There's currently no built-in feature to do this for DrawItem. There is one for Canvas (keepInParentRect).
You should be able to implement DragMove handlers that detect whether a DrawItem is being dragged out of the DrawPane and move it back.
Otherwise you could sponsor having the keepInParentRect behavior added for DrawItems. Just a note that it's not trivial given that not all shapes are square.
Leave a comment:
-
Drag DrawRect but not out of DrawPane
Hi,
I have a DrawPane with some DrawRect objects on it.
It is possible to drag move the DrawRect objects, however, I do not want to drag the DrawRect objects out of the DrawPane. Is there a way to prevent this?
this is with v8.3p_2013-02-13/Pro Deployment (built 2013-02-13)
thanks,Tags: None
Leave a comment: