home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5635 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ncar!laplata.scd.ucar.edu!morreale
  3. From: morreale@laplata.scd.ucar.edu (Peter Morreale)
  4. Subject: Re: Width of SelectionBoxDialog....
  5. Message-ID: <1992Aug15.164912.1192@ncar.ucar.edu>
  6. Keywords: controlling the list width....
  7. Sender: news@ncar.ucar.edu (USENET Maintenance)
  8. Organization: NCAR/UCAR
  9. References:  <1992Aug15.160502.28082@ncar.ucar.edu>
  10. Date: Sat, 15 Aug 1992 16:49:12 GMT
  11. Lines: 23
  12.  
  13. In article <1992Aug15.160502.28082@ncar.ucar.edu>, morreale@laplata.scd.ucar.edu (Peter Morreale) writes:
  14. > I can't seem to find a way to control the size of the child list in a
  15. > SelectionBoxDialog.  The selection box always seems to set the 
  16. > width of the list to the length of the longest list item.  
  17.  
  18.  Never mind!  I should have looked a little further before posting...  I
  19.  found the mapCallback in the BulletinBoard resources and found that I
  20.  would reset the width of the dialog's list via that callback.  
  21.  
  22.  All I did was to use XtSetValues to reset the size of the list just
  23.  prior to the SelectionBoxDialog's mapping.  This causes the list to get
  24.  set to the size I'd like, without having the dialog window flash on the
  25.  display....
  26.  
  27.  -PWM
  28. ------------------------------------------------------------------
  29. Peter W. Morreale                  email:  morreale@ncar.ucar.edu
  30. Nat'l Center for Atmos Research    voice:  (303) 497-1293
  31. Scientific Computing Division     
  32. Consulting Office
  33. ------------------------------------------------------------------
  34.