Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TreeLayout partial arrange. (Read 3145 times)
Pascal
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Oct 7th, 2005
TreeLayout partial arrange.
Oct 13th, 2005 at 12:50am
Print Post  
Hi,

I'd like to have 2 differents way of arrange, depending of the node type.
This a sample code:

if (node.Type == a)
{
   _boderLayout.Root = node.Box;
   _boderLayout.Arrange(_control);
}
else
{
   _centralizedLayout.Root = node.Box;
   _centralizedLayout.Arrange(_control);
}

This code doesn't work.
It's always layout everythig and not from the root node I specified. Don't know why.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TreeLayout partial arrange.
Reply #1 - Oct 13th, 2005 at 7:43am
Print Post  
Hi,

The tree layout will arrange everything if you set null as root. Please check wheter the node.Box is really set to some box. If you use groups as tree nodes, set as the root a group's master node; a subordinate one won't work.

Stoyan
  
Back to top
 
IP Logged
 
Pascal
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Oct 7th, 2005
Re: TreeLayout partial arrange.
Reply #2 - Oct 17th, 2005 at 11:08am
Print Post  
Sorry I didn't had a chance to reply before.

I found it, I had to IgnoreLayout to true.
Thanks for your reply
Pascal.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint