Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Issue related to LayeredLayout. (Read 1328 times)
Shane
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Mar 26th, 2009
Issue related to LayeredLayout.
Mar 29th, 2009 at 10:46am
Print Post  
Hi,

I have used the LayeredLayout to arrange the items on the diagram.

The issue is after arrangement the items leave the diagram area which is not desired.

I have tried using the



diagram.RestrictItemsToBounds = RestrictToBounds.InsideOnly;

but its not working.

I have also tried the


diagram.ResizeToFitItems(20);

this makes the diagram to loose the client area which is again not desired.

I cant use diagram.ZoomToFit() method .

Any suggestion how can I make it work.

Thanks,
Shane.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Issue related to LayeredLayout.
Reply #1 - Mar 30th, 2009 at 6:49am
Print Post  
Hi,

What area is occupied by LayeredLayout depends on the size of nodes and the layout's LayerDistance property. What's wrong with calling diagram.ResizeToFitItems()?

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