[comp.windows.x.motif] XmList

mikey@sgi.com (Mike Yang) (04/12/91)

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