Hi Matt, Matthew Gregory wrote: > Hi All, > I've tried to find this on the wiki and mailing list and cannot find an > answer. I'll add some documentation to this issue soon to the wiki :)
> I'm about to add my TileView widget as a qooxdoo contrib project. I've > improved the widget considerably and it's ready to be added. I've > overridden the _createChildControlImpl method and it all works ok. I've > created the appropriate appearance entries as well in > tileview.theme.TileView and tileview.theme.Appearance. That's the right way to go. > The problem is how can I include this theme in my other project? If I > change the QXTHEME entry in config.json to tileview.theme.TileView that > works. But the problem is my other project already has it's own theme, > how can I include both? Am I missing something from the contrib's Manifest? Short answer: you can't. It is only possible to set one theme for your application in the config.json. To use both themes you have to change a little bit in your own appearance theme to get it to work. Since it is not possible to include/patch a theme at runtime you have to include it before. Each theme offers an "include" key which can be used to achieve this. In your case: --snip-- /** * Your appearance theme. */ qx.Theme.define("yourApp.theme.Appearance", { // inlcudes the "TileView" appearance theme include : tileview.theme.TileView appearances : { // your appearances } }); --snip-- It is not possible to achieve this using the configuration. You have to change your application code to get it to work. cheers, Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel