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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to