Greg,
What you need to do is to create a new instance of a qx.bom.Font, set all
the properties you need, then set the labels font to be this new font:
var myFont = new qx.bom.Font(14, ["Arial"]);
myFont.setBold(true);
var myLabel = new qx.ui.basic.Label("The Label Text");
myLabel.setFont(myFont);
Double check the syntax, I am doing this from memory and I just got up, so
there might be a typo, but this should get you where you want to be. And as
stated by someone before, the font size is in pixels, and the font family is
an array.
Jim
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel