Hi Florian, Florian Probst wrote: > Hello, it's me again, sorry :) > > But I found another strange thing: > > using extend in meta-theme and all seperate themes does not throw an > exception but: my own appearances are MISSING. > > Currently I'm using this line in my makefile: > > APPLICATION_THEME = de.cas.qx.ui.ribbon.theme.Office > > My own appearances seem to work by adding the following line in the > makefile: > > APPLICATION_THEME_APPEARANCE = de.cas.qx.ui.ribbon.theme.Appearance > > > A bug or my fault? Could you please send in your meta theme file? Maybe this helps to track down your problem.
cheers, Alex > > -Florian > > Florian Probst schrieb: > > ah, that makes sense :) > > > > Hmm, I tried removing the extend within my meta theme, but now the > > extend of my other themes does not work anymore? strange... only when I > > use extend in my meta-theme it works. > > > > nah... I'm happy that it works somehow... so > > > > Thanks alot > > > > Florian > > > > Sebastian Werner schrieb: > >> 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