home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2129 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.2 KB  |  42 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!pipex!slxsys!march!rossw
  3. From: rossw@march.co.uk (Ross Wakelin)
  4. Subject: Shrinking frames in TK
  5. Message-ID: <1992Dec10.100146.20371@march.co.uk>
  6. Organization: March Systems Consultancy Ltd
  7. Date: Thu, 10 Dec 1992 10:01:46 GMT
  8. Lines: 32
  9.  
  10. Greetings
  11.  
  12. I have a small, but annoying problem with tk/tcl 2.3
  13.  
  14. I am creating a frame:
  15.  
  16.     frame .noddy -relief sunken -geometry 200x10
  17.  
  18. and a subframe within it:
  19.  
  20.     frame .noddy.subframe -relief raised -background blue -geometry 10x10
  21.  
  22. The intention is that I am creating a stripchart type environment, and that
  23. I will vary the geometry of the subframe to change the size of the stripchart.
  24.  
  25. They are packed together using:
  26.     pack apend .noddy .noddy.subframe {bottom}
  27.  
  28. Unfortunately, the superior frame (.noddy) keeps resizing itself to the size 
  29. of the subframe (.noddy.subframe), completely destroying the layout of the
  30. display.
  31.  
  32. I have tried using explicity x and y instead of geometry, and no change.
  33. HELP!!!!
  34.  
  35. Thanks all
  36.  
  37. -- 
  38. Ross Wakelin                                        r.wakelin@march.co.uk
  39. Open Systems Director                  or ..mcsun!uknet!uknet!march!rossw 
  40. March Systems Consultancy Ltd 
  41.  
  42.