Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem in moving small shape nodes (Read 1990 times)
danilom
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Location: Italy
Joined: Feb 23rd, 2012
Problem in moving small shape nodes
Apr 4th, 2012 at 12:40pm
Print Post  
Hi Stoyan,
In my application I create shape nodes (with circular shapes).
I noticed that for small nodes (width less that 8 WPF Points) if I try to move the node using the mouse, the action is automatically canceled and the NodeModifying event is not raised.
This does not happen for bigger nodes.
In attach you find the source code of a sample application reproducing the issue.
Can you help me?

Bye,
Danilo
  

TubeDesigner.zip (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem in moving small shape nodes
Reply #1 - Apr 4th, 2012 at 1:31pm
Print Post  
Hi Danilo,

Set Diagram.MinimumNodeSize to a size smaller than the nodes you create. In theory this property should be used only for resize validation, but at this time it is checked for all kinds of node manipulations.

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


I Love MindFusion!

Posts: 16
Location: Italy
Joined: Feb 23rd, 2012
Re: Problem in moving small shape nodes
Reply #2 - Apr 4th, 2012 at 2:25pm
Print Post  
Perfect!!
Thanks a lot!

Danilo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint