Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!think!snorkelwacker!bloom-beacon!EKU.BITNET!MATLEVAN From: MATLEVAN@EKU.BITNET Newsgroups: comp.windows.x Subject: TEXT WIDGET WORT Message-ID: <9003122322.AA01372@ATHENA.MIT.EDU> Date: 12 Mar 90 00:28:00 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 31 Hello, The new text widget insert file mechanism (meta i) is a little tricky to use. Running the "xtext" application found in mit/examples/Xaw will show the problem. After starting xtext type meta i to bring up the insert file dialog. Enter a filename longer than the "input" box. Note that when the edge of the input box is hit, that the box does *not* grow to the right! Instead a scrollbar appears and the file name is broken into two lines, bummer. Workaround (a): invoke xtext -xrm "*insertFile*text*width: 300" This will make the input box 300 pixels wide. Workaround (b): type the last character of the filename first. Then back up the cursor and type the rest of the filename. This time when the right edge of the box is hit it will grow towards the right. Anybody got a cleaner solution? Jerry ----------------------------------------------------------------------------- | Jerry LeVan | Phone:(606)-622-1931 | | Department of Computer Science | | | Eastern Kentucky University | Email:matlevan@eku.bitnet | | Richmond Ky 40475 | | |---------------------------------------------------------------------------| | "The series converges so slowly that it actually diverges." | -----------------------------------------------------------------------------