Hello everybody,

I'm using Qooxdoo 3.0.1

I've created A 1st application with custom theming

"""
qx.Theme.define("qxappl1.theme.Decoration",
{
  extend : qx.theme.modern.Decoration,

  decorations :
  {
    "Appl1-header" :
    {
      style :
      {
        width : 1,
        color : "border-main",
        backgroundColor : #3580D2"
      }
    }
  }
});
------------
qx.Class.define("qxappl1.Appl1Header",
{
  extend : qx.ui.container.Composite,
  
  construct : function(titleR, userR, versionR)
  {
    this.base(arguments);
    this.__createUI(titleR, userR, versionR);
  },
  
  members :
  {
    __createUI : function(titleR, userR, versionR)
    {
      var myDock = new qx.ui.layout.Dock();
      myDock.setSort("y"); // y-axis first, flex growing
      
      this.setLayout(myDock);
      this.set({decorator: "Appl1-header", height: 50});
      ...
    }
  }
});
"""
==> Application 1 works fine when I call "qxappl1.Appl1Header"


I've created a 2d application that call the 1st one

in the config.json I put :
"""
"libraries" :
    {
      "library" :
      [
        {
          "manifest" : "C:/project/qxAppl1/Manifest.json"
        }
      ]
    }
"""

No problem with compilation but when I call "qxappl1.Appl1Header", I get an
error:
"""
Error: Error in property decorator of class qxappl1.Appl1Header in method
setDecorator with incoming value 'Appl1-header': Is invalid!
"""

Does someone know why ? Do I forget something ?

Thanks in advance

Krull.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Decorator-problem-with-a-Custom-Library-QX3-0-1-tp7584823.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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=60135991&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to