Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!mikey From: mikey@sgi.com (Mike Yang) Newsgroups: comp.windows.x.motif Subject: Re: XmList (again) Message-ID: <1991Apr12.153738.27146@dragon.wpd.sgi.com> Date: 12 Apr 91 15:37:38 GMT References: <904C746FA3DF000F6C@UPR1.UPR.CLU.EDU> Sender: news@dragon.wpd.sgi.com (CNews Account) Distribution: inet Organization: Silicon Graphics, Inc. Lines: 20 In article <904C746FA3DF000F6C@UPR1.UPR.CLU.EDU> D_GONZALEZ@UPR1.UPR.CLU.EDU writes: > Question: > I have tried to change the dimensions of the XmList using >width and height and, it won't make any changes. > I also tried to have the scrollBar be permanent using the >scrollBarDisplayPolicy: STATIC and it doesn't work either. If you're using XmCreateScrolledList, be aware that it returms the widget id of the XmList, not its XmScrolledWindow parent. Therefore, if you use XtSetValues on this id, you won't see a change in the scrolled window size of scrollbar display policy behavior. Specify your resources when you call XmCreateScrolledList, or use XtSetValues on XtParent(listID). ----------------------------------------------------------------------- Mike Yang Silicon Graphics, Inc. mikey@sgi.com 415/335-1786