Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Auto expand diagramView (Read 2024 times)
gamjaradio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 42
Joined: Jul 16th, 2010
Auto expand diagramView
Mar 7th, 2011 at 8:04am
Print Post  
I drew about a hundred of nodes , by source code .

but the diagramView was smaller than they are , so the a number of node are hidden , event without scroll.

How can I resize the diagramView automatically fit with the nodes.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Auto expand diagramView
Reply #1 - Mar 7th, 2011 at 8:55am
Print Post  
Call diagram.resizeToFitItems() after creating the nodes.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint