variableRowHeight?

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ken Dunnington
Sent: Wednesday, December 05, 2007 11:47 AM
To: [email protected]
Subject: [flexcoders] Custom ItemEditor too big for container

 

I've built a custom Tree ItemEditor that consists of a VBox with a Form
in it. It works just fine (besides the CheckBox which is too picky about
"true" vs. true in the XML data...) except when I try to edit an item
near the bottom of the container, the editor gets cut off. Because I
wanted it to only occupy the smallest necessary space, I set the
following properties on the Tree control: editorHeightOffset="150"
editorWidthOffset="-650", and there is no width or height set for the
ItemEditor. 

What's the best way to ensure that my custom editor won't occupy a huge
amount of space, but will stay on-screen as well? I tried setting
verticalScrollPolicy to "on" but it doesn't register as an increase in
the control's height, so the bars don't activate when the editor is off
the screen. 

 

Reply via email to