Hi Tobias,

just in case:

you _did_ something like...

f1.add(f2);

...didn't you?

If you forgot, it would explain the "walking" (at least to me).

/Kuddel


> Hi,
> [...]
> I have a problem with the qx.ui.layout.HorizontalBoxLayout.
> 
>  
> 
> Here is my example:
> 
>  
> 
> var f1 = new qx.ui.layout.HorizontalBoxLayout;
> 
> f1.set({
> 
>       width : "50%",
> 
>       height : "100%",
> 
>       horizontalChildrenAlign: "center",
> 
>       backgroundColor: "red"
> 
> });
> 
>             
> 
> var f2 = new qx.ui.layout.CanvasLayout;
> 
> f2.set({
> 
>       width : "100%",
> 
>       height : "100%",
> 
>       backgroundColor : "yellow"
> 
> }); 
> 
> 
> When I start my application everything looks good. But when I resize the
> browser-Window, the f2-box "walks" out of the f1-box.
> 
>  
> 
> There are two ways how the bug doesn't occur:
> 
> 1.       I don't set f1-"horizontalChildrenAlign"
> 
> 2.       Or I set f1-"width" to a fix width (f.e. 200)
> 
>  
> 
> What can I do?
> [...]


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to