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

Reply via email to