Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node "jumping" (Read 1912 times)
sledenev
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Dec 16th, 2009
Node "jumping"
May 10th, 2011 at 8:57am
Print Post  

Hi,

I have ContainerNode (or any other custom node) with minimum size. I am dragging right edge of the node to minimize the node until I reach minimum size.
Size of the node is fixed but cursor is still moving from right to left. When cursor reaches left edge of the node, the node is "jumping" from right to left and starts growing. How can I disable this?

Thanks in advance!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node "jumping"
Reply #1 - May 10th, 2011 at 1:44pm
Print Post  
Hi,

It seems we have a NodeConstraints.DisableMirroring constraint in the WPF control for this, we could port it to WinForms in the next couple of weeks. Otherwise you could cancel the resize operation from OnNodeModifying if you detect that the node was flipped.

Stoyan
  
Back to top
 
IP Logged
 
sledenev
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Dec 16th, 2009
Re: Node "jumping"
Reply #2 - May 10th, 2011 at 2:20pm
Print Post  
It is sad not to have this feature in winforms. I think canceling operation in OnNodeModifying event is bad decision in terms of user's "Look-n-Feel" experience.
It would be nice if you'll port it!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node "jumping"
Reply #3 - May 12th, 2011 at 12:14pm
Print Post  
Don't be sad 8) This version adds the constraint:
https://mindfusion.eu/_beta/fcnet563.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint