I have a custom item renderer, and it's based on textInput.
I want the user to use my list control, much like a textArea, where
he/she can just, ENTER,TAB,DOWN_CURSOR, through the control. And after,
the next item is added and focus is set automatically.
I can't seem to manage focus on this
PM
Subject: [flexcoders] Custom List
I have a custom item renderer, and it's based on textInput.
I want the user to use my list control, much like a textArea, where
he/she can just, ENTER,TAB,DOWN_ CURSOR, through the control. And after,
the next item is added and focus is set automatically
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom List
I have a custom item renderer, and it's based on textInput.
I want the user to use my list control, much like a textArea, where
he/she can just, ENTER,TAB,DOWN_CURSOR, through the control. And after,
the next item is added
I'm attempting to create a very simple item renderer for mx:List. I've found
that when the dataProvider is static, there are no problems with the custom item
renderer. However, when the dataProvider is dynamic, the height of the item
renderer is not correct (and scroll bars appear for each
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of wubac1
Sent: Saturday, April 18, 2009 2:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom List ItemRenderer / Recycling troubles (height
incorrect)
I'm attempting to create a very
I'm attempting to create a very simple item renderer for mx:List. I've found
that when the dataProvider is static, there are no problems with the custom
item renderer. However, when the dataProvider is dynamic, the height of the
item renderer is not correct. I've set variableRowHeight=true
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
...@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've just used TextArra
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
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
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
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
: [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'd love
: 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 height
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):
canvas
mx:TextArea
id=theTextID
minHeight=0
change=invalidateSize()
color=#FF
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 feed
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,
Can you paste the code snippet that update the list?
Cheers,
Claudiu
- Original Message
From: darkcube86 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 21, 2008 7:49:53 PM
Subject: [flexcoders] Custom List Renderer Memory Leak
I have a list which always
I have a list which always displays 3 items using a custom list
renderer. As items are added to this list, the last one in the list
is removed (FIFO Queue), and a DefaultListEffect is used to animate
incoming and outgoing items with a fade effect.
The problem is that after some time (~5000 items
Hi all, I created a custom item renderer and in it I have:
Canvas
HBox
Text
/HBox
/Canvas
The text inside Text includes spaces like /r, so most items take up
at least two lines. However my problem is that it only seems to be
rendering the first line of text and is not displaying the
: [flexcoders] Custom List component Height Issue
Hi all, I created a custom item renderer and in it I have:
Canvas
HBox
Text
/HBox
/Canvas
The text inside Text includes spaces like /r, so most items take up
at least two lines. However my problem is that it only seems to be
rendering the first line
21 matches
Mail list logo