What is the most convenient way to apply some custom styling to an individual widget element that does not confirm to the default styling of the theme. I am still confused with the usage of decorators . How does one apply multiple decorators eg. for border properties and background to a widget element.
I have tried using custom decorators eg. :
var titleBar = new qx.ui.container.Composite();
titleBar.set({
decorator : qx.ui.decoration.MBackgroundImage,
style : {
backgroundImage : '/images/tbar.png'
}
});
But I recieve an error :
Error in property decorator of class qx.ui.container.Composite in method setDecorator with incoming value '[Mixin qx.ui.decoration.MBackgroundImage]': Is invalid!