Hi! I've used Zoombox control in my graph library.
Actual preview example: http://www.panthernet.ru/upload/graphx_0.9.4.pre.rar
Actual sources: https://graphx.codeplex.com/SourceControl/latest
Reproduce: In General Graph tab click on the dice button then drag any vertex to the left.
It works great and have many cool features but there is one special behaviour i want to get changed. Maybe you can point me how this can be achieved.
You can download library showcase example from the link above to see the behaviour. My content panel which holds vertices is wrapped by Zoombox control. The point is that when i'm dragging any vertex by mouse i'm changing the size of the content panel dynamically to fit all the vertices into the rectangle (minimize content area). If any vertex is being dragged to the top or left side of my content panel it speeds up greatly and zooming goes crazy making unable to operate vertices. If i drag vertex to the other sides all works good - content is resized but drag speed remains the same.
I suppose this is somehow related to scaling but right now i'm unable to find the reason for such behaviour. Any help will be appreciated. Thanks!
Actual preview example: http://www.panthernet.ru/upload/graphx_0.9.4.pre.rar
Actual sources: https://graphx.codeplex.com/SourceControl/latest
Reproduce: In General Graph tab click on the dice button then drag any vertex to the left.
It works great and have many cool features but there is one special behaviour i want to get changed. Maybe you can point me how this can be achieved.
You can download library showcase example from the link above to see the behaviour. My content panel which holds vertices is wrapped by Zoombox control. The point is that when i'm dragging any vertex by mouse i'm changing the size of the content panel dynamically to fit all the vertices into the rectangle (minimize content area). If any vertex is being dragged to the top or left side of my content panel it speeds up greatly and zooming goes crazy making unable to operate vertices. If i drag vertex to the other sides all works good - content is resized but drag speed remains the same.
I suppose this is somehow related to scaling but right now i'm unable to find the reason for such behaviour. Any help will be appreciated. Thanks!