Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x Subject: Re: Wcl Table widget containing composite widgets.... Message-ID: <1991Apr9.001616.14449@alphalpha.com> Date: 9 Apr 91 00:16:16 GMT References: <1991Apr8.055237.19247@melba.bby.oz.au> Distribution: comp Organization: none Lines: 40 In article <1991Apr8.055237.19247@melba.bby.oz.au> gnb@bby.oz.au (Gregory N. Bond) writes: >I am confused about the behaviour of the table widget distributed with WCL >when some of the table contents are composite widgets. I have an app I guess I can answer this as the unofficial keeper of Table. Table has some very major and fundamental flaws in geometry management (as do a number of other widgets, unfortunately). I recently did a nearly complete rewrite of the geometry management code and will be releasing this sometime in May. This said, I'm not sure that's your problem. >correctly. I also want to be able to unmanage the 2nd layout area >and have the 1st one cover the whole window, and then re-manage the >second widget and have the area split up in the 3-1 ratio again. The new table keeps an idea of what the preferred size of the child was, so it should come back at that size, as long as the child doesn't make any stupid resize requests. >Box has the same problem), then stretching works OK, shrinkage almost >works, and unmapping/mapping fails miserably (the new window is mapped A lot of composite widgets are pretty bad about shrinking. The old Table didn't even try. The new one does, although it's not terribly smart (I'd like it to shrink proportionally). >but the first one is never resized, and you have top expand the main >window to uncover it.) The size of the composite subwidgets never >seems to be allowed to shrink. I'm not sure why mapping doesn't work. Unmapping the widget ought to leave a blank space where it was. Remapping will bring it back. There shouldn't be any geometry changes. -- Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.