Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uwm.edu!srcsip!terminus!thelen From: thelen@SRC.Honeywell.COM (Karen Thelen) Newsgroups: comp.windows.x Subject: viewport widget Message-ID: <59652@srcsip.UUCP> Date: 22 Feb 90 13:35:53 GMT Sender: news@src.honeywell.COM Lines: 32 I have such an elementary problem. I hope it has an elementary solution. I am running R4 on a Sun4. I have a list widget whose parent is a viewport widget. The vertical scrollbar takes up the whole height of the widget and will not scroll the list. I will not list all the things I have tried but ... Oh by the way this code did run on a Sun3 R3. Here is the code: argcount = 0; XtSetArg(arglist[argcount], XtNwidth, labelWidth); argcount++; XtSetArg(arglist[argcount], XtNheight, halfWindowHeight); argcount++; XtSetArg(arglist[argcount], XtNforceBars, True); argcount++; XtSetArg(arglist[argcount], XtNallowVert, True); argcount++; subview5 = XtCreateManagedWidget("subview5", viewportWidgetClass, vPaned1, arglist, argcount); argcount = 0; XtSetArg(arglist[argcount], XtNwidth, windowWidth); argcount++; XtSetArg(arglist[argcount], XtNheight, halfWindowHeight); argcount++; XtSetArg(arglist[argcount], XtNdefaultColumns, 1); argcount++; XtSetArg(arglist[argcount], XtNlist, propertyList); argcount++; XtSetArg(arglist[argcount], XtNforceColumns, True); argcount++; properties = XtCreateManagedWidget("properties", listWidgetClass, subview5, arglist, argcount); Any ideas??? Thanks KarenThelen