I'm not qualified to say, so I'll let Greg review it, but I'm curious as to
why you need a TextArea as a renderer (I'd think Label would suffice).  Keep
in mind that renderers don't receive input, so you won't be able to select
the text that is rendered.

-T

On Wed, Nov 18, 2009 at 7:23 AM, Noel Grandin <noelgran...@gmail.com> wrote:

>  Hi
>
> I can reasonably easily fix this (patch attached) and I don't seem to be
> breaking anything else (tested with KitchenSink).
>
> Is this patch acceptable?
>
> Thanks, Noel.
>
>
> Todd Volkert wrote:
>
> It has something to do with needing to know its break width so it knows
> where to wrap and thus how tall it should be.  Greg's the TextArea expert,
> so he can elaborate.
>
> On Wed, Nov 18, 2009 at 7:06 AM, Noel Grandin <noelgran...@gmail.com> 
> <noelgran...@gmail.com> wrote:
>
>
>
>  Hi
>
> I note that TextAreaSkin returns [0,0] in getPreferredSize().
>
> Is there a reason for this behaviour?
> I was trying to use TextArea as a renderer for my variableRowHeight
> TableView, but without a real preferredSize it doesn't work too well.
>
> Thanks, Noel.
>
>
>
>
>

Reply via email to