import org.apache.pivot.wtk.HorizontalAlignment;
import org.apache.pivot.wtk.Orientation;
import org.apache.pivot.wtk.content.ButtonDataRenderer;
public class ButtonDataRenderer_wrappedText extends ButtonDataRenderer
{
public ButtonDataRenderer_wrappedText()
{
setOrientation( Orientation.VERTICAL );
getStyles().put( "fill", true );
label.getStyles().put( "horizontalAlignment",
HorizontalAlignment.CENTER );
label.getStyles().put("wrapText", true);
}
}
On Wed, 30 Mar 2011 04:40:53 am Roger L. Whitcomb wrote:
> Hi Scott,
> Could you publish what your code looks like that is now working?
> We're having a similar issue with Checkbox and I thought I followed all
> the instructions here but it is not working still... Thanks.
>
> Roger Whitcomb | Architect, Engineering | [email protected] |
> Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 |
> USA +1 650-587-5596 | fax: +1 650-587-5550
>