Hi Alex It works like a charm. Awesome! I feel a bit dumb, since this is actually quite well documented... i guess it's because i have a headache already.
Next time i'll try harder, i promise :) Thanks a lot - Roman Alexander Back wrote: > Hi Roman, > > Roman Schmid wrote: >> Maybe somebody could be so kind and point me into the right direction. >> I'd like to have some special appearance for a label, let's name it >> "requiredlabel". There i would define color and font. That's what i >> tried (just for testing): >> >> qx.Theme.define("myapp.theme.Appearance", { >> extend : qx.theme.modern.Appearance, >> >> appearances : { >> "requiredlabel" : { >> "textColor" : "#ff0000" >> } >> } >> }); >> >> Then in the code: >> mylabel.setAppearance("requiredlabel"); > The code for the appearance has to be > > --snip-- > qx.Theme.define("myapp.theme.Appearance", { > extend : qx.theme.modern.Appearance, > > appearances : { > "requiredlabel" : { > style : function(states) > { > return > { > "textColor" : "#ff0000" > } > } > } > } > }); > --snip-- > > > This should work. > > cheers, > Alex > > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel