Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!lupine!infopiz!athertn!hpda!hplabs!decwrl!purdue!bu-cs!bloom-beacon!crd.ge.COM!%ESDSDF.DECnet From: dwight@george (Dwight H. Cooper) Newsgroups: comp.windows.x Subject: viewport not listening to XtNwidth Message-ID: <8904101535.AA02038@george.jetsons.com> Date: 10 Apr 89 15:35:38 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 12 To: esdsdf!csbvax::mrgate::"smtp::expo.lcs.mit.edu::xpert" > 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