[flexcoders] Custom List

2009-12-23 Thread djhatrick
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

Re: [flexcoders] Custom List

2009-12-23 Thread claudiu ursica
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

RE: [flexcoders] Custom List

2009-12-23 Thread Alex Harui
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

[flexcoders] Custom List ItemRenderer / Recycling troubles (height incorrect)

2009-04-18 Thread wubac1
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

RE: [flexcoders] Custom List ItemRenderer / Recycling troubles (height incorrect)

2009-04-18 Thread Tracy Spratt
_ 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

[flexcoders] Custom List ItemRenderer / Recycling troubles

2009-04-17 Thread wubac1
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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-05 Thread Flap Flap
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

RE: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-05 Thread Alex Harui
...@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

[flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Flap Flap
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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Jeffry Houser
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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Doug McCune
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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Flap Flap
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

RE: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Alex Harui
: [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

RE: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Alex Harui
: 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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Fotis Chatzinikos
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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Fotis Chatzinikos
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

Re: [flexcoders] Custom List Item Render to have multiline (so variable Height)

2009-02-04 Thread Doug McCune
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,

Re: [flexcoders] Custom List Renderer Memory Leak

2008-10-22 Thread claudiu ursica
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

[flexcoders] Custom List Renderer Memory Leak

2008-10-21 Thread darkcube86
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

[flexcoders] Custom List component Height Issue

2007-11-12 Thread davidch204
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

RE: [flexcoders] Custom List component Height Issue

2007-11-12 Thread Alex Harui
: [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