Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Grow direction of ShapeNode (Read 2184 times)
SC
YaBB Newbies
*
Offline



Posts: 37
Joined: Jan 18th, 2008
Grow direction of ShapeNode
Jul 29th, 2008 at 5:59pm
Print Post  
Is ther eanyway I can change the grow direction of shapenode?

I have shapenode one on left and on e on right of my diagramnodeadapter.

When I type text on the left sidfe shapenode, it is mixing with the diagramnodeadapter so I want it to grow on the opposite direction.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Grow direction of ShapeNode
Reply #1 - Jul 30th, 2008 at 8:03am
Print Post  
You could save the old width before resizing the node, find the difference between the old and new widths, and subtract that difference from node.Bounds.X.

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