Hi skar,
skar schrieb:
> Hi Daniel, Wagner wrote:
>> 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".
>>
> Thanks for the tip. I tried it and it still doesn't work.
>
>> "tabview-page/title" : {
>> style : function(states) {
>> return {
>> font : qx.bom.Font.fromString("font-size: 14px;
>> font-family: verdana; font-weight: bold")
>> }; } }
There is no appearance key "tabview-page/title", try using
"tabview-page/button".
> However, I can do this: page_object.getButton().setFont("boldsmall"),
> but I want to set it globally for all tabview pages, not for every object.
>
> As for the table, I did this:
>
>> "table" : {
>> style : function(states) {
>> return {
>> font : qx.bom.Font.fromString("10px verdana bold") //You
>> can also define a font in the default class
>> (yourProjectName/source/class/theme/Font.js)
>> } } }
> And it works now with the column header text in bold now. But the status
> line like "1 of 10 rows" is also in bold now which is ok too.
If you only want to change the appearance of the header, use the key
"table-header-cell".
>
> cheers,
> skar.
>
Regards,
Daniel
------------------------------------------------------------------------------
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