Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!yale!glasgow-jason From: glasgow-jason@CS.YALE.EDU (Jason R. Glasgow) Newsgroups: comp.windows.x Subject: Scolling on Athena AsciiTextWidget Message-ID: <59548@yale-celray.yale.UUCP> Date: 5 May 89 05:04:48 GMT Sender: root@yale.UUCP Organization: Yale University, New Haven, CT Lines: 27 I am getting strange results from the scroll bar when I use this widget. As I drag the thumb it changes sizes even though the number of lines of text doesn't change. It also lets the thumb practically disappear if I pull it to the bottom of the scroll bar region. Is this a bug in the AsciiTextWidget or my error in creating the widget? Does anyone have any info on this? I have included the code I use to create the textwidget.... Thanks for any help. Jason Glasgow /* TEXT AREA */ n = 0; XtSetArg(arg[n], XtNwidth, 500); n++; XtSetArg(arg[n], XtNheight, 300); n++; XtSetArg(arg[n], XtNstring, textBuffer); n++; XtSetArg(arg[n], XtNeditType, XttextEdit); n++; XtSetArg(arg[n], XtNlength, 20480); n++; XtSetArg(arg[n], XtNtextOptions, wordBreak | scrollVertical); n++; XtSetArg(arg[n], XtNsensitive, True); n++; text = XtCreateManagedWidget("text", asciiStringWidgetClass, pane, arg, n); +----------------+----------------------------------------------------------+ | Jason Glasgow | bitnet: glasgow@yalecs.bitnet uucp: ...!yale!glasgow | | | internet: glasgow@cs.yale.edu voicenet: 203-436-1437 | +----------------+----------------------------------------------------------+