Hi, welcome to qooxdoo!
Yes, it's right use exclude: http://tinyurl.com/22rcgzc But you can't use getCellWidget for showing the widgets again, because it only returns visible widgets. Cheers, Chris Am 20.10.2010 10:51, schrieb Fritz Zaucker: > On Wed, 20 Oct 2010, omrihar wrote: > >> Hello all, >> >> First of all I'd like to say that I'm now writing my first program with >> qooxdoo and I'm finding the experience very pleasant! I really enjoy it and >> it allows me to do things really fast and really the way I would program a >> desktop application :) > Welcome to the exiting world of Qooxdoo! > >> My question is the following : >> I'm building a window that basically contains a form (I'm handling the >> posting through RPC but it's irrelevant). >> According to the value of a SelectBox, some fields show be displayed and >> some not. >> I'm planning to implement it currently using a Stack which changes panes >> according to the value of that select box but I have one problem - sometimes >> I need to use the same widget in two different panes. >> When I tried to do this it only showed the widget in the pane it was last >> added to so I conclude this is impossible. > As in the real world, an object can only exist at one point in the > space/time continuum (except in Science Fiction, I guess). > >> Another solution would have been to be able to simply hide rows from a grid >> layout and then only show the ones I need. Since there is no hide option for >> the rows themselves, I tried to implement it by removing all the widgets >> from a row, but then the grid didn't shrink to hide the place of that row. >> I also tried to change the height of a row to 0, but then the layout didn't >> shrink properly (it shrank too much). > Try exclude() instead of hide() ... never tried it with a grid layout, so I > am not sure, if it will adjust the height of the row. > > Cheers, > Fritz > ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
