pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Volkert <tvolk...@gmail.com>
Subject Re: Regression in LinkButton renderer functionality
Date Mon, 31 Aug 2009 12:32:15 GMT
Actually, scratch that - the "wrapText" style wouldn't be true for the base
class, so the current behavior would be maintained.  Ok, I'll make the
change to ButtonDataRenderer.

On Mon, Aug 31, 2009 at 8:30 AM, Todd Volkert <tvolkert@gmail.com> wrote:

> Doing so for ButtonDataRenderer would mean that the text would wrap for all
> buttons that were given less than their preferred width.  Is this the
> behavior we want?  Or should LinkButtonDataRenderer not extend
> ButtonDataRenderer?
> -T
> On Mon, Aug 31, 2009 at 8:19 AM, Greg Brown <gkbrown@mac.com> wrote:
>> What about using TablePane? ImageView goes in a column of width -1, Label
>> in a column of width 1*.
>> On Aug 31, 2009, at 7:31 AM, Todd Volkert wrote:
>> LinkButton's default renderer used to be able to wrap the text of its
>> label (you can see the artifact of this in the LinkButtonDataRenderer
>> constructor).  Since the change to not support horizontally justified
>> horizontal box panes, this no longer works.  The reason that
>> LinkButtonDataRenderer is a horizontal box pane is to accommodate the image
>> and the text in the button data, but it means that the "fill" style won't
>> constrain the width of the renderer's label.  The net result in my case is
>> the truncation of text in my link buttons -- check out the news section at
>> http://www.satelliteconsulting.com/
>> I know I can get around this by writing a custom renderer that extends
>> Label, but can anyone see a way to get around it using platform classes?
>> Thanks,
>> -T

View raw message