Yes. I thought that ButtonDataRenderer wrapped text by default, but apparently 
it doesn't. Easiest thing would be to create a custom subclass of 
ButtonDataRenderer and call label.getStyles().put("wrapText", true) in the 
constructor. Then set this as the renderer for your button.

On Mar 18, 2011, at 1:42 AM, Scott Lanham wrote:

> Hello,
> 
> Sorry if I have asked this in the past. I can't seem to find any old posts 
> about it and my memory is not so good.
> 
> Is it possible to get the text in a PushButton to wrap rather than clip when 
> then text is longer than the button width?
> 
> Thanks,
> 
> Scott.

Reply via email to