While playing with RTMultiLine I thought that it would be nice to have
option for RTDraggable elements to snap to a grid / move only by fixed
increments - for example the position could only be divisible by 10 (grid
size would be 10), so dragging from 20@10 to 26@4 would jump to 30@0. Is
something like this possible with current implementation?

The second question is: is it possible for element to subscribe for
position updates of another element? (I.e. element A watches for movement
of element B and moves accordingly). I know I could add both of them to a
composite shape or RTGroup (RTDraggable>>groupToDrag:), however I would
prefer something more loosely coupled.

In RTDraggable>>initializeElement: i found
" element when: TRMouseDragging do: [ :e | e element translateBy: e step. e
signalUpdate ]"
however it is commented out so perhaps there some other way?

Peter

Reply via email to