I'm trying to resize something, and it works nicely on IE.  On netscape, 
however it seems that if sizing doesn't work if it's after the addChild 
(which presumably fires some event?).

//myTree.setSize(400,400);
DynAPI.document.addChild(myTree);
myTree.setSize(400,400);

So the above code works on IE...but not on Netscape 6.2
If I use the first setSize (prior to addition of object) and comment out the 
second setSize() it works on Netscape.

The reason I don't just use the first one above is because this is only an 
example that shows the resize not working...in reality I'm trying to have a 
layer get bigger when a child layer is added to it. So I'm doing something 
more like
this.items[i].setSize(100,100) //child
this.setSize(200,200)  //parent

and the child is being added/sized correctly, but the parent size isn't 
being inreased.

Any suggestions?

Thank you,
-James

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to