home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / lisp / mcl / 1675 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!bill@cambridge.apple.com
  2. From: bill@cambridge.apple.com (Bill St. Clair)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: window-size-parts question
  5. Message-ID: <9211231908.AA05499@cambridge.apple.com>
  6. Date: 23 Nov 92 20:14:31 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 21
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10.  
  11. At 19:55 11/18/92 +0000, Kemi Jona wrote:
  12. >When creating a new window, it appears that window-size-parts gets called
  13. >_before_ any subviews are added to it.  Is this intentional?  It seems like
  14. >a mistake to me.  If you want to have a window's subviews adjust
  15. >dynamically to the size of the window, you most certainly would want to
  16. >have them also adjust to whatever :view-size initarg is supplied when that
  17. >window is initially created.
  18. >
  19. >Here's a simple test case:
  20. >
  21. >[...]
  22. >
  23. >Right now I have to call window-size-parts "manually" after all the
  24. >subviews have been added, but before I show the window.
  25. >
  26. >Any ideas?
  27.  
  28. Sounds like a bug to me. I'll send a patch to anyone who requests it.
  29. This patch will be part of Patch 2 for MCL 2.0.
  30.  
  31. -Bill
  32.