Hurrah! It works now! > Hi Alex, > > I am sorry. I now see your problem. > > Please replace this: > w0.set({ width:"100%", height:"100%" }); > > with this: > w0.setHeight("1*"); > > height=100% means here, that the canvas layout gets the same height > than the outer verticalBoxLayout. This is not what you want. You want > that the CanvasLayout use the remaining space. Using flex dimensions > could help in this case. > I see. I thought that it would take all available place and not the whole place.
BEST REGARDS! alex.d > Cheers, > Sebastian > > > > Alex D. schrieb: >>> Without have followed the whole discussion: >>> >>> I think you must put the windows inside the container which is >>> available for the window as a maximum. The sizing always works >>> respecting the dimensions of the parent object. >>> >>> VerticalBoxLayout >>> - Menubar >>> - Toolbar >>> - Container (CanvasLayout!) >>> - Window 1 >>> ... >>> >> This is exactly the structure i have(see attached test). And sorry - >> it doesn't work. Not for me anyway. >>> I hope this helps. >>> >>> Cheers, >>> >>> Sebastian >>> >>> >>> Alex D. schrieb: >>>> Hi Jim, >>>> Thx for your answer. The fact it works for you gives me hope. I >>>> already have(or not??) the structure you are suggesting. What i >>>> have is the "entire-app" or *main* container. It's a >>>> VerticalBoxLayout. Menubar and Toolbar are added to the main >>>> container followed by the body container which is a CanvasLayout. >>>> All qooxdoo-windows are added to the body container and have anyway >>>> this height-problem. I've made a small example based on >>>> demo/source/html/test/Window_1.html to demonstrate this. If you >>>> resize the "green" window in this example you'll see this annoying >>>> effect. >>>> >>>> Best Regards, >>>> alex.d >>>>> You are going to need a container for the entire app, add the >>>>> toolbar to it, then create a 'body' container that you also add to >>>>> the main container and use up all the remaining space (main >>>>> container - toolbar). Now when you create new windows, add them to >>>>> the 'body' container, not the app container. This is what I do all >>>>> day long and it works great. >>>>> >>>>> Jim >>>>> >>>>> >>>>> On 10/20/06, *Alex D.* <[EMAIL PROTECTED] >>>>> <mailto:[EMAIL PROTECTED]>> wrote: >>>>> >>>>> Hi folks, >>>>> i have following problem and i'm really despair of it. My app has >>>>> look&feel of a *MDI*-Applikation: at the top menubar, then >>>>> toolbar, then some kind of "desktop"(CanvasLayout) where all >>>>> qooxdoo-windows appear. The main-container box is a >>>>> VerticalBoxLayout. And it works fine till i try to maximize >>>>> windows or say >>>>> window.set({ left:0, top:0, right:0, bottom:0 }); >>>>> Then window thinks that it has all height("desktop"+ toolbar >>>>> height + menubar height) available and appears with it's bottom >>>>> edge off screen(top edge is correct). I do understand that >>>>> layout-engine is responsible for this behavior and i have already >>>>> tried several workarounds, but nothing helps. >>>>> For example i tried to make the main-container-box to a >>>>> CanvasLayout and set top-positons of menubar, toolbar and desktop >>>>> manually with the help of _computeOuterHeight() routine in >>>>> _afterAppear() function. But toolbar._computeOuterHeight() gives >>>>> me wrong height back because toolbaricons are not loaded at that >>>>> moment. >>>>> >>>>> It will be really great if anybody would have an idea of a >>>>> workaround for this issue. >>>>> >>>>> Best Regards, >>>>> alex.d >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make >>>>> your >>>>> job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>>> Geronimo >>>>> >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> >>>>> >>>>> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> qooxdoo-devel@lists.sourceforge.net >>>>> <mailto:qooxdoo-devel@lists.sourceforge.net> >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> <https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> qooxdoo-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel