What is the most convenient way to apply a custom style to a single widget element that does not confirm the default styling style. I'm still confused using decorators. How to apply multiple decorators, for example. for border and background properties for a widget element.
I tried using custom decorators, for example:
var titleBar = new qx.ui.container.Composite(); titleBar.set({ decorator : qx.ui.decoration.MBackgroundImage, style : { backgroundImage : '/images/tbar.png' } });
But I get an error message:
Error in the qx.ui.container.Composite class property decorator in the setDecorator method with the input value '[Mixin qx.ui.decoration.MBackgroundImage]': Invalid!
source share