home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ncar!laplata.scd.ucar.edu!morreale
- From: morreale@laplata.scd.ucar.edu (Peter Morreale)
- Subject: Re: Width of SelectionBoxDialog....
- Message-ID: <1992Aug15.164912.1192@ncar.ucar.edu>
- Keywords: controlling the list width....
- Sender: news@ncar.ucar.edu (USENET Maintenance)
- Organization: NCAR/UCAR
- References: <1992Aug15.160502.28082@ncar.ucar.edu>
- Date: Sat, 15 Aug 1992 16:49:12 GMT
- Lines: 23
-
- In article <1992Aug15.160502.28082@ncar.ucar.edu>, morreale@laplata.scd.ucar.edu (Peter Morreale) writes:
- >
- > I can't seem to find a way to control the size of the child list in a
- > SelectionBoxDialog. The selection box always seems to set the
- > width of the list to the length of the longest list item.
- >
-
- Never mind! I should have looked a little further before posting... I
- found the mapCallback in the BulletinBoard resources and found that I
- would reset the width of the dialog's list via that callback.
-
- All I did was to use XtSetValues to reset the size of the list just
- prior to the SelectionBoxDialog's mapping. This causes the list to get
- set to the size I'd like, without having the dialog window flash on the
- display....
-
- -PWM
- ------------------------------------------------------------------
- Peter W. Morreale email: morreale@ncar.ucar.edu
- Nat'l Center for Atmos Research voice: (303) 497-1293
- Scientific Computing Division
- Consulting Office
- ------------------------------------------------------------------
-