I have a problem using a QxDockLayout inside a QxHorizontalBoxLayout with a flex width.

The QxDockLayout always gets a width of 0, although it should be flexed to the full width. If I use another widget instead, like a QxTerminator, then it works.

The following mini-example shows the problem (the QxDockLayout is empty here, but it's the same problem when putting something inside it)

----- snip -----
var hbl1 = new QxHorizontalBoxLayout;
with (hbl1) {
    setLocation(10, 10);
    setDimension(150, 20);
    setBorder(QxBorderObject.presets.outset);
};
this.add(hbl1);

var t1_2 = new QxDockLayout;// QxTerminator;
with (t1_2) {
    setBorder(QxBorder.presets.black);
    setDimension(QxConst.CORE_FLEX, QxConst.CORE_HUNDREDPERCENT);
    setBackgroundColor("blue");
};
hbl1.add(t1_2);
----- snap -----


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to