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 <[email protected]> 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 > > >
