Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Cannot scroll to bottom of diagram (Read 1429 times)
DavidZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 22
Joined: Jun 15th, 2013
Cannot scroll to bottom of diagram
Jun 19th, 2013 at 9:32am
Print Post  
Hi,

For some diagrams I am unable to scroll to the bottom of the diagram. It is almost as though the scroll size does not update as nodes are added. Is there a way to ensure that I can scroll through the whole diagram?

Thanks

David
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Cannot scroll to bottom of diagram
Reply #1 - Jun 19th, 2013 at 10:05am
Print Post  
Hi,

The scroll range depends only on Diagram.Bounds value, which is not updated automatically by layout algorithms. After layout.Arrange, you could also call diagram.ResizeToFitItems to make Bounds large enough to fit all items. Alternatively, set diagram.Bounds to the union of its current value and diagram.GetContentBounds() result, to allow the diagram grow but not become smaller.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
DavidZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 22
Joined: Jun 15th, 2013
Re: Cannot scroll to bottom of diagram
Reply #2 - Jun 19th, 2013 at 2:46pm
Print Post  
Perfect. Thank you

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