On Fri, May 7, 2010 at 10:32, Stephan Hermann <[email protected]> wrote:
> The space widget2 occopies is lost space. What I want to do is to > "replace widget2 with widget1" so that only one item is shown during > runtime, at the same place as widget1. > Instead of using widget.hide(), use widget.exclude(). That will avoid having it take up space. You can then show it when you want, with widget.show(). You can also add use the addAt(), addBefore() and addAfter() methods if you really want to remove and add widgets as you go. Unless you have substantial changes, though, on a regular basis, you're probably better off just using exclude(). Cheers, Derrell
------------------------------------------------------------------------------
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
