Hi there,
Second night that I'm pulling my hairs on this stuff, I'm sure you will give
me some good hints.
So, I have a custom list item render.
It's a VBOx with a GradientCanvas (width 100%, no height) child that have a
TextArea for child (width 100%, no height).
The GradientCanvas he's a custom
Have you written any code in your itemRenderer to change the height
(this.height) to match the TextArea height? In an itemRenderer, I would
expect this code to exist in some dataChange event handler.
Also, what happens if you set variableRowHeight to true? I'm unclear if
that would have an
I've pretty much never been able to use variableRowHeight in a real world
scenario. Once you start scrolling with item renderers that need to measure
themselves based on data, it all gets completely messed up. I'd love it if
someone knew how to get it working all the time (as opposed to only on the
thanks
I'll give a try to handle height in dataChange.
variableRowHeight is already set to true, it's mandatory has my item will be
different...
BenoƮt Milgram / Flapflap
http://www.kilooctet.net
I'm also a music mashup / bootlegs producer :
http://www.djgaston.net
On Wed, Feb 4, 2009 at 10:4
t: Re: [flexcoders] Custom List Item Render to have multiline (so
variable Height)
I've pretty much never been able to use variableRowHeight in a real world
scenario. Once you start scrolling with item renderers that need to measure
themselves based on data, it all gets completely messed up. I
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Flap Flap
Sent: Wednesday, February 04, 2009 1:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom List Item Render to have multiline (so
variable Height)
thanks
I'll give a try to handle heig
Have a look at the following bits of a working variableRowHeight item
renderer (I am using it it to display conversation like comments on
pictures):
Pay attention to:
minHeight="0" //to accomodate for really short renderers
change="invalidateSize()" //re-measure on text c
Doug,
have you tried adding the following on the textarae? It solves real world
renderer recycling :-)
minHeight="0" //to accomodate for really short renderers
change="invalidateSize()" //re-measure on text change
when a renderer is recycled new text from the data provider is f
Perhaps I was a bit harsh in my initial comment about variableRowHeight :)
I'll certainly try some examples and report back on what works and what
doesn't for me. Maybe I've just always done my custom renderers wrong
somehow for working with variableRowHeight with scrolling.
Doug
On Wed, Feb 4,
Thanks guys for all that clues.
I will give a try and send feedback.
For info, I've just used TextArra for a multiline text item, I don't need
any editable behavior on it.
Thx
Benoit aka Flapflap
lexcod...@yahoogroups.com] On Behalf
Of Flap Flap
Sent: Thursday, February 05, 2009 1:12 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom List Item Render to have multiline (so
variable Height)
Thanks guys for all that clues.
I will give a try and send feedback.
For info, I'v
11 matches
Mail list logo