krupczak@secola.Columbia.NCR.COM (Bobby Krupczak) (05/11/91)
Hi! I am developing a motif application that uses a Bulletin Board dialog. This dialog contains (among other things) a scrolled window. The scrolled window in turn contains a row-column widget. When I resize the dialog, the scrolled window does not expand to fill the new larger dialog size. I have tried setting the vpane's XmNallowResize to true, the scrolled window's XmNvisualPolicy to XmVARIABLE with no luck. I have read gobs of documentation and have not been able to solve my "problem". Does anyone know how to fix this "problem"? Below is the widget heirarchy for the BB dialog. BB Dialog | V vpane / | \ V row-column scrolled-window row-column | V row-column Thanks in advance Bobby
glp@ibism.UUCP (Greg Parkinson) (05/14/91)
In article <1991May10.150358.8760@nncrcae.Columbia.NCR.COM>, krupczak@secola.Columbia.NCR.COM (Bobby Krupczak) writes: |> Hi! |> |> I am developing a motif application that uses a Bulletin Board dialog. |> |> This dialog contains (among other things) a scrolled window. The scrolled |> window in turn contains a row-column widget. |> |> When I resize the dialog, the scrolled window does not expand to fill the |> new larger dialog size. I have tried setting the vpane's XmNallowResize |> to true, the scrolled window's XmNvisualPolicy to XmVARIABLE with no |> luck. I have read gobs of documentation and have not been able to |> solve my "problem". |> |> Does anyone know how to fix this "problem"? |> Off the top of my head, I would say to put the ScrolledWindow in a Form, and attach all the sides. This has worked for me in similar situations. Let me know if it works. -- Greg Parkinson Phone: 212-657-7814 Citibank Fax: 212-825-8607 111 Wall Street E-Mail: uunet!ibism!glp New York, NY 10043 The opinions expressed are my own and not those of the big 'ol bank.