Added work-round for missing scroll bar (seems to be an X-Windows bug)

This commit is contained in:
sjborley 2005-09-06 20:21:09 +00:00
parent 33b254609b
commit 54935831ff
1 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
Copyright 1990 Regents of the University of California. All rights reserved.
Author: Jeffrey M. Hsu
Modified 1999 Emmanuel Rouat
$Id$
**********/
#include <config.h>
@ -112,8 +113,8 @@ hlp_xdisplay(topic *top)
top->chartext = buf; /* make sure gets deallocated later XXX */
XtSetArg(htextargs[0], XtNstring, top->chartext);
XtSetArg(htextargs[1], XtNallowResize, True);
XtSetArg(htextargs[2], XtNscrollHorizontal, True );
XtSetArg(htextargs[3], XtNscrollVertical, True );
XtSetArg(htextargs[2], XtNscrollHorizontal, XawtextScrollWhenNeeded );
XtSetArg(htextargs[3], XtNscrollVertical, XawtextScrollAlways );
XtSetArg(htextargs[4], XtNfromVert, top->titlewidget);
XtSetArg(htextargs[5], XtNwidth, 660);
XtSetArg(htextargs[6], XtNheight, 350);