Stanislav Ievlev schrieb:
Greetings!
Why layout's don't skip invisible items in calculations
try to use setDisplay(false) instead of hide()
And please take a look at our documentation here:
http://qooxdoo.oss.schlund.de/2005/10/25/widget-visibility
Sebastian
In example below:
--
window.application.main = function()
{
try
{
var d = this.getClientWindow().getClientDocument();
var b = new QxVerticalBoxLayout();
b.setWidth("100%");
b.setHeight("100%");
var g1 = new QxFieldSet("f1");
g1.setWidth("100%");
g1.setHeight("30%");
g1.hide(); //now widget invisible
b.add(g1);
var g2 = new QxFieldSet("f2");
g2.setWidth("100%");
g2.setHeight("1*");
b.add(g2);
d.add(b);
}
catch(e) {alert(e); }
};
--
Expected result: only one fieldset "f2" of size equal to size of b.
But I see: fieldset "f2" and empty space for "f1".
--
With best regards
Stanislav Ievlev.
-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel