Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Treelayout scrolling (Read 833 times)
psystems
YaBB Newbies
*
Offline



Posts: 2
Joined: Mar 25th, 2009
Treelayout scrolling
Mar 25th, 2009 at 1:44pm
Print Post  
Hello,
I am new to FlowChart.Net, I have a treelayout which seems to be working fine, except the scrollbars do not function.  As I add nodes they are hidden so that you cannot see the nodes and the scrollbar is visible but it does not move the view to the right.

Any help is appreciated.
Thank you.

Below is the code used for the treelayout.
treeLayout = New TreeLayout
           treeLayout.LinkStyle = TreeLayoutLinkType.Cascading3
           treeLayout.Root = rootNode
           treeLayout.Direction = TreeLayoutDirection.LeftToRight
           treeLayout.Type = TreeLayoutType.Centered
           treeLayout.LevelDistance = 10
           treeLayout.NodeDistance = 10
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Treelayout scrolling
Reply #1 - Mar 25th, 2009 at 2:09pm
Print Post  
Hi,

Call Diagram.ResizeTofitItems() after layout.Arrange().

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