Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!crd.ge.COM!%ESDSDF.DECnet From: %ESDSDF.DECnet@crd.ge.COM Newsgroups: comp.windows.x Subject: viewport not listening to XtNwidth Message-ID: <8904112054.AA19545@expo.lcs.mit.edu> Date: 11 Apr 89 21:53:00 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 22 Received: by DnaMail (v1.1); Mon Apr 10 11:33:17 1989 EDT Received: from george.jetsons.com by elroy.jetsons.com (3.2/SMI-3.2) id AA18386; Mon, 10 Apr 89 11:32:31 EDT Received: by george.jetsons.com (3.2/SMI-3.2) id AA02038; Mon, 10 Apr 89 11:35:38 EDT Date: Mon, 10 Apr 89 11:35:38 EDT From: dwight@george (Dwight H. Cooper) Message-Id: <8904101535.AA02038@george.jetsons.com> To: esdsdf!csbvax::mrgate::"smtp::expo.lcs.mit.edu::xpert" Subject: viewport not listening to XtNwidth > I've noticed a strange thing when I try to place a viewport widget > within a form widget. > In my code, I state the exact size I would like the viewport widget to > be... > Well, the viewport widget gets drawn starting in the proper place, but > it extends clear to the right edge of the form widget, rather than > limiting itself to the width I stated in XtNwidth. One of the bugs with both the Viewport and Form widgets in the R2 release was that they ignored any XtNwidth or XtNheight that was specified for them. This is fixed in the R3 widgets. Dwight Cooper GE Electronic Systems dcooper%esdsdf.decnet@crd.ge.com