home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uunet.ca!choreo!news
- From: news@choreo.ca (Choreo NetNews Administration Account(Ottawa))
- Subject: Re: dynamically changling label text
- Organization: Choreo Systems, Ottawa Canada
- Date: Tue, 22 Dec 1992 20:30:58 GMT
- Message-ID: <1992Dec22.203058.1442@choreo.ca>
- References: <1992Dec21.214049.24275@choreo.ca> <Bzo830.5pr@NeoSoft.com>
- Lines: 20
-
- In article <Bzo830.5pr@NeoSoft.com> karl@NeoSoft.com (Karl Lehenbauer) writes:
- >In article <1992Dec21.214049.24275@choreo.ca> news@choreo.ca (Choreo NetNews Administration Account(Ottawa)) writes:
- >>Once the text in the label is changed, the size of the window is adjusted.
- >>Is there a mechanism which will allow me to explicitly set the width of the
- >>label?
- >
- >The Tk and Tcl manual pages are excellent, and a useful resource.
- >
- >The manual page for "label" very clearly describes a "-width" command
- >that sets the width in characters for textual labels or the width in
- >screen units if it's a bitmap.
- >--
- Well in actual fact, the width command didn't make any difference. The
- cause of the problem was the font which was in use for the widget being a
- proportional font. Thus, the length of the text was hardly ever constant.
- Even using the -width, we found that the window size still changed.
-
- Thanks anyway though.
-
-
-