Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic margin on DrawHandles (Read 2168 times)
Luke
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: May 22nd, 2008
margin on DrawHandles
Jul 9th, 2009 at 4:28pm
Print Post  
Hi,
i have override the DrawHandles Method in a CustomNode.
(diagramView.ModificationStart = ModificationStart.AutoHandles)
When i hover over the Node my Handle is drawn ... but when i leave the Node-Bounds where is a margin (circ.10 units) before the Handle is deleted.
How can i modify this Margin to 0 ?

best regards
Luke
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: margin on DrawHandles
Reply #1 - Jul 10th, 2009 at 6:36am
Print Post  
Hi,

There is currently indeed a 7 mm zone around items, which is currently hard-coded and cannot be changed. If it is important for you, we can introduce a property to control this value. If you have purchased the source code of the control, you can manually modify this value in the DiagramView.DrawAutoHandles method.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Luke
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: May 22nd, 2008
Re: margin on DrawHandles
Reply #2 - Jul 10th, 2009 at 7:09am
Print Post  
Hi,
sadly, we don't have the source code.
It would be of great help to us when you introduce a property.

Thanks,
Luke
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: margin on DrawHandles
Reply #3 - Jul 13th, 2009 at 6:45am
Print Post  
Hi,

This version adds AutoHandlesMargins property to DiagramView:
https://mindfusion.eu/_beta/fcnet_autohandles.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Luke
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: May 22nd, 2008
Re: margin on DrawHandles
Reply #4 - Jul 13th, 2009 at 1:41pm
Print Post  
Great support.
Thanks a lot!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint