Hi skar,
qx.bom.Font.fromString() expects a CSS string. In your example, that
would be "font-size: 14px; font-family: verdana; font-weight: bold".
Regards,
Daniel
skar schrieb:
> Hi,
>
> How to set font for a tabview page's title label and a table's header
> labels?
>
> I tried this in Appearance.js:
>> "tabview-page/title" : {
>> style : function(states) {
>> return {
>> font : qx.bom.Font.fromString("14px verdana bold"),
>> marginTop: 5,
>> marginBottom: 10,
>> marginLeft : 10 //redefine left margin to be longer
>> };
>> }
>> }
> I also tried settings a setFont for my own font style but it didn't work
> either. Any ideas?
>
> cheers,
> skar.
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel