Hi,

I'd like to build an interface consisting of a left and a right pane. 
The left one should have a fixed width (in pixel), the right one should 
use up the remaining space. Both should stretch to full viewport height, 
display a stretched background image and use a "Stack" for their content.
My current attempt looks like this:

+ Composite:HBox
    + Composite:Canvas // left panel
        + Image // the background
        + Stack
             + Canvas // left content pages
             + Canvas
             + ...
    + Composite:Canvas // right panel
        + Image
        + Stack
             + Canvas
             + Canvas
             + ...

I've been experimenting with flex and width: "100%", but nothing really 
adds up to what I want it to look. One problem is, that the layout 
managers usually either allow a percentage value or pixels, but not both 
(likely by design, so some advice on this would be welcome, too). 
Another one is, that the image doesn't seem to stretch to the parent 
Canvas (despite using scale, allowGrowX/Y). I've tried doing this 
manually by setting maxWidth/Height in a "resize" listener (which sort 
of works), but that doesn't seem to adjust the size of the stack on top 
of it, which always uses the initial image size.
Now, I could set all the element dimensions manually, but I imagine that 
would be rather slow. I'd like to think that there's a better way to do 
this. Any hints/ideas/links are welcome. I'm pretty new to qooxdoo and 
still in the "confused-developer"-stage. :)

P.S: Oh, one unrelated question: Sometimes the generator spills out 
multiple pages of "unknown class" errors for core classes like 
qx.application.Standalone. I noticed this seems to be caused by a 
missing ,/; somewhere, but it's a pain to find something like that. I've 
tried the "lint" target, but that doesn't seem to catch it either. Any 
advice? I've already spent hours on hunting commas :)

Thanks,
  Dennis

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to