Larry Blische schrieb:
> First - I am new to qooxdoo.
>
> I am writing a standalone application that will have several pages.  
> The app will be run on displays with various resolutions. I want the  
> elements on these pages to appear as if they are aligned along the  
> central vertical axis of the display, i.e. I want a few widgets  
> aligned one over another and centered horizontally on the page.
>
> I have played with the various layouts and have not come up with a way  
> to do this.
>   
You can try this:

1. create a container widget with an vbox layout. This takes care of 
stacking the widgets over each other.
2. set alignX to "center"
3. on each child set "allowGrowX" to false. This prevents the box layout 
from stretching the widget horizontally to tha available width.

This should do the trick.

Best Fabian



> Any pointers?
>
> Thanks,
> Larry Blische
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to