Because the meta theme only extends the other meta theme and has no 
influence on the separate themes which I think would be bad anyway.

The extend on the meta theme is not needed if your metatheme has 
definitions for all the themes needed (if you add a icon theme this 
would be the case for you, too).

Sebastian



Florian Probst schrieb:
> Hi Sebastian,
> 
> thank you for that fast answer. That worked!
> But why do I need to extend the seperate themes when I told my
> meta-theme to extend?
> 
> Florian
> 
> Sebastian Werner schrieb:
>> Florian,
>>
>> please double-check that all your separate themes extend from their Ext 
>> companions, too.
>>
>> The problem is that the border "general" is not defined in your case. 
>> The system then reports that this value is invalid which is completely 
>> correct.
>>
>> Sebastian
>>
>>
>> Florian Probst schrieb:
>>> Hi,
>>>
>>> I've got a little problem with my themes: I would like to extend my own
>>> theme with "Ext" for example.
>>>
>>> I am using a meta theme containing appearance, font, etc.
>>>
>>> First I tried it this way:
>>>
>>> qx.Theme.define("de.cas.qx.ui.ribbon.theme.Appearance",
>>> {
>>>   title     : "Ribbon Office",
>>>   extend    : qx.theme.ext.Appearance,
>>>
>>>   ...mystuff
>>> }
>>>
>>> But that didn't work, nothing happend: to test the results I used a blank
>>> application using a single qx.ui.window.Window.
>>>
>>> When I extend my metatheme using this code:
>>>
>>> qx.Theme.define("de.cas.qx.ui.ribbon.theme.Office",
>>> {
>>>   title     : "Ribbon Office",
>>>   extend    : qx.theme.Ext,
>>>
>>>   meta              : {
>>>     color           : de.cas.qx.ui.ribbon.theme.color.Blue,
>>>     border          : de.cas.qx.ui.ribbon.theme.Border,
>>>     font                    : de.cas.qx.ui.ribbon.theme.font.Default,
>>>     widget          : de.cas.qx.ui.ribbon.theme.Widget,
>>>     appearances             : de.cas.qx.ui.ribbon.theme.Appearance
>>>  }
>>> });
>>>
>>> I'll get errors like this one:
>>> "[Exception... "'Error: Error in property border of class
>>> qx.ui.basic.Terminator in method styleBorder with incoming value 'general':
>>> Is invalid!' when calling method: [nsIDOMEventListener::handleEvent]"
>>> nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location:
>>> "<unknown>" data: no]"
>>>
>>> Now I've got the problem that I do not know where the problem is :) The
>>> Ext-Theme as standalone works fine. I didn't even override the keys given in
>>> that exception. And why does he ignore the individual extend in my
>>> Appearance?
>>>
>>> *panic*
>>>
>>> Thanks in advance
>>>
>>> Regards,
>>>
>>> Florian
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to