Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7152410C9F for ; Fri, 12 Jul 2013 19:18:42 +0000 (UTC) Received: (qmail 22126 invoked by uid 500); 12 Jul 2013 19:18:42 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 22096 invoked by uid 500); 12 Jul 2013 19:18:42 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 22088 invoked by uid 99); 12 Jul 2013 19:18:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 19:18:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of markzolotoy@gmail.com designates 209.85.128.174 as permitted sender) Received: from [209.85.128.174] (HELO mail-ve0-f174.google.com) (209.85.128.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 19:18:35 +0000 Received: by mail-ve0-f174.google.com with SMTP id oz10so8561065veb.19 for ; Fri, 12 Jul 2013 12:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6CWg71YQ+UcrB95f+eXzXE0wTNOnzvTPkOvy9K+lXJE=; b=vE1vkyI6LjRb4zic/4W+OCTedpBqonT9lBhayoLPgPWlYvLn03Vsra4hh9BvBozPyF k4qUngXUohCHHGi03Ck/To+ExC3jIkC15QZsLuVZOgyeMPfBzxn9WoTTt+1ACkUo9iBd 6M6A2HwxplroMxPfItI8JeaNb5s2XVi3hnyfwinL1il4HQ/ybLA/2/aofOpCxBvavIFA 3cXH5jBIUBzAHfPqXfxjKHz43Be+nXxie7hSdhkZwLm/muBq9RRYwhb7P92zm7MPdzfw hwPMz3lmnuT6QDKvJKg4PhZCaju8lHOBP3zSL2hqG44vLx+8Rbwhu4weo3aHgpN51lj0 koFA== MIME-Version: 1.0 X-Received: by 10.220.195.195 with SMTP id ed3mr25141361vcb.33.1373656694592; Fri, 12 Jul 2013 12:18:14 -0700 (PDT) Received: by 10.58.199.105 with HTTP; Fri, 12 Jul 2013 12:18:14 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jul 2013 14:18:14 -0500 Message-ID: Subject: Re: Idea for item renderer From: mark goldin To: users@flex.apache.org Content-Type: multipart/alternative; boundary=089e0153814853198604e1555ff0 X-Virus-Checked: Checked by ClamAV on apache.org --089e0153814853198604e1555ff0 Content-Type: text/plain; charset=ISO-8859-1 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 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" 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 wrote: > > > >> You may need to set the width to the width of the column. > >> > >> On 7/12/13 11:29 AM, "mark goldin" 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 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" wrote: > >> >> > >> >> >Spark > >> >> > > >> >> > > >> >> >On Fri, Jul 12, 2013 at 1:14 PM, Alex Harui > >>wrote: > >> >> > > >> >> >> Spark or MX DataGrid? > >> >> >> > >> >> >> On 7/12/13 8:47 AM, "mark goldin" 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 > >> >> >> > >> >> >> > >> >> > >> >> > >> > >> > > --089e0153814853198604e1555ff0--