The bug can be seen if you resize the window. The oStatusBar (dark blue border)
does not get resized to oStatusBarContainer (white border) even though it has
width set to 100%.
This looks like a bug. The expected behavior would be if oStatusBar would
resize with oStatusBarContainer, instead it does not.
Here is code snippet to reproduce:
window.application.main = function()
{
var doc = this.getClientWindow().getClientDocument();
var oPanelBorder = new QxBorder(1, "solid", "#003366");
var oPanelOutlineBorder = new QxBorder(1, "solid", "white");
var oAppPanel = new QxDockLayout;
with (oAppPanel)
{
setTop(0);
setLeft(0);
setRight(325);
setBottom(0);
}
var oLabel1 = new QxLabel;
with (oLabel1)
{
setHtml("Test1")
setHeight(null);
}
var oLabel2 = new QxLabel;
with (oLabel2)
{
setHtml("Test2");
setHeight(null);
}
var oStatusBar = new QxDockLayout;
with (oStatusBar)
{
setBorder(oPanelBorder);
setWidth("100%");
addLeft(oLabel1);
addRight(oLabel2);
}
var oStatusBarContainer = new QxBoxLayout;
with (oStatusBarContainer)
{
setWidth(null);
setBorder(oPanelOutlineBorder);
add(oStatusBar);
}
oAppPanel.addBottom(oStatusBarContainer);
doc.add(oAppPanel);
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel