flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: Idea for item renderer
Date Fri, 12 Jul 2013 19:18:14 GMT
Basically, something like this:
override public function prepare(hasBeenRecycled:Boolean):void
{
super.prepare(hasBeenRecycled);
if (data)
{
Question.width = column.width;
}
}
where Question is RichEditableText.


On Fri, Jul 12, 2013 at 2:14 PM, Alex Harui <aharui@adobe.com> wrote:

> How are you setting the width?  I suspect that when the column gets
> resized the width gets set.
>
> On 7/12/13 12:05 PM, "mark goldin" <markzolotoy@gmail.com> wrote:
>
> >Well, it's not wrapping. But as soon as I resize the column the text gets
> >wrapped.
> >
> >
> >On Fri, Jul 12, 2013 at 1:56 PM, Alex Harui <aharui@adobe.com> wrote:
> >
> >> You may need to set the width to the width of the column.
> >>
> >> On 7/12/13 11:29 AM, "mark goldin" <markzolotoy@gmail.com> wrote:
> >>
> >> >Yeah, that's what I am getting into. But I am having a problem with
> >> >using RichEditableText.
> >> >I want to change its height to make a datagird more compact. But as
> >>soon
> >> >as
> >> >I change the height I am losing word wrapping.
> >> >The only time the word wrapping is working is when a height is set to
> >> >100%.
> >> >But then DG has very large rows.
> >> >Any idea?
> >> >
> >> >Thanks
> >> >
> >> >
> >> >On Fri, Jul 12, 2013 at 1:21 PM, Alex Harui <aharui@adobe.com> wrote:
> >> >
> >> >> Someone recently pointed out that the minimum text widget that shows
> >> >> selection is RichEditableText which is relatively heavy.  I think
> >>you'll
> >> >> have to start there.
> >> >>
> >> >> On 7/12/13 11:18 AM, "mark goldin" <markzolotoy@gmail.com> wrote:
> >> >>
> >> >> >Spark
> >> >> >
> >> >> >
> >> >> >On Fri, Jul 12, 2013 at 1:14 PM, Alex Harui <aharui@adobe.com>
> >>wrote:
> >> >> >
> >> >> >> Spark or MX DataGrid?
> >> >> >>
> >> >> >> On 7/12/13 8:47 AM, "mark goldin" <markzolotoy@gmail.com>
wrote:
> >> >> >>
> >> >> >> >I have a datagrid where in one of columns I need to be
able to
> >> >>search
> >> >> >>and
> >> >> >> >highlight instances of text. What is the best item renderer
for
> >>that
> >> >> >>might
> >> >> >> >be?
> >> >> >> >
> >> >> >> >Thanks
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >>
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message