Hey,
how can I use own decorators in Qooxdoo 3.
In the documentation is described, how to create an own decorator, but not
how to use it.
http://manual.qooxdoo.org/devel/pages/desktop/ui_decorators.html
Thats a good point. I opened up a bug report [1] to extend the manual page.

In Qooxdoo 2 there was a "decorator" tag in the decorations in my custom
theme.

In qx.theme.manager.Decoration.js around line 200 (Qoodoo 3), I found, that
the decorator tag is still handled for inheritance, but some lines later,
the "qx.ui.decoration.Decorator" is instantiated hard coded and the
decorator tag is ignored...
You can use the patch method of qx.Class [2] to add you custom mixin to the 
decorator class. The only thing you have to take care of is that you have 
unique property / method names.

Regards,
Martin

[1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=7790
[2] http://demo.qooxdoo.org/current/apiviewer/#qx.Class~patch
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to