home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!pipex!slxsys!march!rossw
- From: rossw@march.co.uk (Ross Wakelin)
- Subject: Shrinking frames in TK
- Message-ID: <1992Dec10.100146.20371@march.co.uk>
- Organization: March Systems Consultancy Ltd
- Date: Thu, 10 Dec 1992 10:01:46 GMT
- Lines: 32
-
- Greetings
-
- I have a small, but annoying problem with tk/tcl 2.3
-
- I am creating a frame:
-
- frame .noddy -relief sunken -geometry 200x10
-
- and a subframe within it:
-
- frame .noddy.subframe -relief raised -background blue -geometry 10x10
-
- The intention is that I am creating a stripchart type environment, and that
- I will vary the geometry of the subframe to change the size of the stripchart.
-
- They are packed together using:
- pack apend .noddy .noddy.subframe {bottom}
-
- Unfortunately, the superior frame (.noddy) keeps resizing itself to the size
- of the subframe (.noddy.subframe), completely destroying the layout of the
- display.
-
- I have tried using explicity x and y instead of geometry, and no change.
- HELP!!!!
-
- Thanks all
-
- --
- Ross Wakelin r.wakelin@march.co.uk
- Open Systems Director or ..mcsun!uknet!uknet!march!rossw
- March Systems Consultancy Ltd
-
-