Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!kit From: kit@ATHENA.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Novice Widget Question to Forward .... Message-ID: <8902281753.AA05559@DORA.MIT.EDU> Date: 28 Feb 89 17:53:51 GMT References: <8902251506.AA10152@EXPIRE.LCS.MIT.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 25 > I would like to have the user be able to see what > they type if it does not fit within the limits of the dialog box. > I see three possible solutions but do not know how to implement > them (or maybe I cannot) using the Relase 3 Xt widgets. I do not have > to use the dialogWidget. If anyone knows of another way (ie with > asciiStringWidgetClass) I am willing to listen. > My solutions are as follows: > a) expand the dialog box so the text is always seen or The ascii string widget already is able to do this. Set the text option: resizeWidth or resizeHeight. There is also a problem that the parents of the dialog or text widget will not let it resize. For shell widgets this is easily fixed by setting XtNallowShellResize to TRUE. For its other parents you may have to be more clever. Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139