Sebastian, what about this problem?

On Tue, Jan 17, 2006 at 07:00:24PM +0300, Stanislav Ievlev wrote:
> On Tue, Jan 17, 2006 at 04:33:08PM +0100, Sebastian Werner wrote:
> > 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
> > 
> Thank you, but there are another problem now:
> 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%");
>     b.add(g1);
> 
>     var b2 = new QxVerticalBoxLayout();
>     b2.setWidth("100%");
>     b2.setHeight("1*");
>     b.add(b2);
> 
>     var g2 = new QxButton("f2");
>     g2.setWidth("100%");
>     g2.setHeight("100%");
>     g2.addEventListener("click",function() {
> g1.setDisplay(!g1.getDisplay()); });
>     b2.add(g2);
> 
>     d.add(b);
> 
>     }
>     catch(e) {alert(e); }
>   };
> 
> --
> 
> expexted result: button "f2" grow and shrink when I click on it,
> But after f1 became invisible button f2 still has old size.
> 
> This problem detected only with button inserted into VerticalBox.
> 
> --
> 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

Reply via email to