On 11/3/07, Marcel Ruff <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i try to have a horizontal bar covering the complete browser width.
>
> Inside the bar there must be a GroupBox with fixed size which always
> is located totally right.
>
> The remaining gap on the left side (depending on browser resize)
> should be filled with my logo/html.
>
>              Browswer width >|
> +----------------+-----------+
> | Vary width ... |Fixed width|
> +----------------+-----------+
>
> How can i achieve this?

// Your existing horizontal bar
var horiz = new qx.ui.layout.HorizontalBoxLayout();

// The very first widget in the horizontal bar is a spacer
var spacer = new qx.ui.basic.HorizontalSpacer();

// Make the spacer's width "flex".  Using "1*" will take all remaining space
if no other flex widths are defined.
spacer.setWidth("1*");

// Add the spacer to the layout
horiz.add(spacer);

// Now add your other widgets
...


Derrell
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to