hired-gun schrieb: > I've been struggling with creating a new theme. I am trying to use the api to > change the theme like this: > > qx.theme.manager.Appearance.getInstance().setAppearanceTheme(qx.theme.ClassicLunaBlue); > > As you can see, I'm using one of the existing themes. I added this line in > the main() function in Application.js, yet I get this error: > > 018253 ERROR: qx.ui.core.ClientDocument[60]: Could not apply state > appearance: TypeError - theme.appearances has no properties > qooxdoo 0.7 introduced the concept of meta themes, which bundle color, border, appearance and font themes. "qx.theme.ClassicLunaBlue" is such a meta theme. Meta themes are set using the following command:
qx.theme.manager.Meta.getInstance().setTheme(qx.theme.ClassicLunaBlue); Best Fabian ------------------------------------------------------------------------- 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
