Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Need wrapping of child nodes inside parent (Read 1278 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Need wrapping of child nodes inside parent
May 11th, 2010 at 8:36am
Print Post  
Hi,

We have some ShapeNodes(child nodes) inside a ShapeNode(parent node). These ShapeNodes are attached to parent node using AttachTo property.

We want to wrap child nodes when we resize parent node. for exa: if we have 8 child items arranged in two rows(4 nodes in each row) inside parent node now if we resize the parent node such that its height get increased and width get decreased than we want 3 rows and 3 column will take care of those 8 childs.

Please let us know how we can achieve this?

Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Need wrapping of child nodes inside parent
Reply #1 - May 11th, 2010 at 11:01am
Print Post  
Hi,

You can handle NodeModifying and set Bounds for each child node in e.Node.SubordinateGroup.AttachedNodes.

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