Jim Hunter schrieb:
I read a previous post that dealt with the height of a Layout controls when using QxConst.CORE_AUTO. It is my understanding that if a QxCanvasLayout has contents and therefor a height > 0, if you do a removeAll() on it then the height should set itself to 0. Is this correct? If so, then I think there is a bug in the logic somewhere. I have many QxCanvasLayouts stacked in a QxVerticalBoxLayout to create sections. They are not all visible at any one given time. What I have seen is that if I simply do a removeAll() the contents do get cleared but the height does not change. If I set the visibility to false, the other controls do not collapse around it to use up it's space. I end up with a gap. If I set the height to 0 then I get some sort of internal error (does not show on log but events on most controls stop working). So, I am currently stuck trying to figure out the appropriate settings to make these sections collapse and have the other sections (and their sizes can all vary) fill in the space. Any suggestions on what settings I should use? The actual tree looks like this:

QxWindow - this is actually a fixed window taking up the entire height and half the width of the screen.
  QxVerticalBoxLayout - takes up the entire height of the window
    QxCanvasLayout - fixed height 100px
    QxCanvasLayout - fixed height 25px
    QxCanvasLayout - variable height, usually hidden
QxCanvasLayout - variable height, always visible, I have this height set to FLEX to "fill in"
    QxCanvasLayout - variable height, sometimes visible
    QxCanvasLayout - variable height, usually visible
    QxVerticalBoxLayout - variable height, usually visible

So there is is, any suggestions?

Any suggestions will follow if you submit a small demo file first. Otherwise I have no time to debug this.

Sebastian


Thanks,
Jim



-------------------------------------------------------
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

Reply via email to