Re: [flexcoders] Custom ItemEditor too big for container

2007-12-06 Thread Ken Dunnington
Ok, got it! I had to use some hard-coded values, which I'm not fond of doing, but I can live with it :) Here's the function I used: private function adjustEditorOffset(e:ListEvent):void { var tree:Tree = Tree(e.currentTarget); var treeBottomY:int = tree.

Re: [flexcoders] Custom ItemEditor too big for container

2007-12-06 Thread Ken Dunnington
I'm afraid that didn't do it. I'm going to try intercepting the itemEditBegin event and check the position of the item clicked and adjust the editorYOffset property on the Tree... does that sound right? Of course, I now need to learn how to figure out the item's position :) On Dec 6, 2007 1:03 PM,

RE: [flexcoders] Custom ItemEditor too big for container

2007-12-06 Thread Alex Harui
variableRowHeight? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Dunnington Sent: Wednesday, December 05, 2007 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom ItemEditor too big for container I've built a c