Hi Robert, first of all, welcome to qooxdoo!
I tried running your code in the playground[1] and got the following error: Windows can only be added to widgets, which implement the interface qx.ui.window.IDesktop. All root widgets implement this interface. So all you need to do is add your windows to your application's root widget (returned by this.getRoot() in your main application class). Regards, Daniel [1]http://bit.ly/9afDQC Robert Larsen schrieb: > Hi all > > I am new to qooxdoo so I am sorry if this is a stupid question...just > couldn't find an answer anywhere. > > I have a Composite which I am adding Window objects to (works fine), but > the last window always stays on top. I can select the bottom windows and > move everything around but they are always obscured by the top ones and > I don't see why. > > This snippet of code shows what I do: > > > var container = new qx.ui.container.Composite(new > qx.ui.layout.Canvas()); > var w1 = new qx.ui.window.Window("Window 1"); > var w2 = new qx.ui.window.Window("Window 2"); > w1.open(); > w2.open(); > container.add(w1, {top: 20, left: 20}); > container.add(w2, {top: 50, left: 50}); > return container; > > I have tried different layout managers but they all failed the same. > > What am I doing wrong ? > > Best, > Robert > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
