[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-28 Thread simonjpalmer
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Saturday, November 24, 2007 7:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Dynamically Setting width of a TextInput control this is not in a datagrid

RE: [flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-28 Thread Alex Harui
: [flexcoders] Re: Dynamically Setting width of a TextInput control I think I have been speaking forked tongue a little. It is an itemRenderer but not for a DataGrid, it's for the springgraph. I was tracing through that code and it appears to create its item renderers as free standing controls on a canvas

[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-24 Thread simonjpalmer
this is not in a datagrid it is just a dynamically created control on a canvas --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The renderer's width is fixed to the size of the column From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-24 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Dynamically Setting width of a TextInput control this is not in a datagrid it is just a dynamically created control on a canvas --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote

[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-23 Thread ivascuc
Hi, First make sure you give the TextInput an unique ID, and then you can change the width property to make it larger, using the change event of the textinput. And you will have to find out what the ratio between your text size and the input width is, so that it will always match your characters.