home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / misc / 18833 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.9 KB

  1. Path: sparky!uunet!seismo!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!olivea!bu.edu!cvbnet!cvbnet.prime.com!skochhar
  2. From: skochhar@cvbnet.prime.com (Sandeep Kochhar x4618 5-2)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Diagram question
  5. Message-ID: <3736@cvbnetPrime.COM>
  6. Date: 20 Aug 92 13:59:13 GMT
  7. Sender: postnews@cvbnetPrime.COM
  8. Distribution: usa
  9. Organization: Computervision
  10. Lines: 52
  11.  
  12.  
  13. hi!
  14. I've finally started using my Diagram package.  While it seems
  15. pretty good for many types of diagrams (and has fancy-looking examples),
  16. I haven't been able to do something that I really need and is normally
  17. very simple to do, even in drawing packages much simpler than a diagramming
  18. package:
  19.  
  20.  1. Basically, I want to have rectangles (boxes) whose text label is
  21.     horizontally and vertically centered in them.  So far, it seems to me
  22.     that Diagram's boxes have horizontally centered labels, but not
  23.     vertically (they seem to start near the top of the box).  Thus, if
  24.     I have vertically long box with the label "Box", it looks something like
  25.                  ----------------
  26.          |     Box      |
  27.          |        |
  28.          |        |
  29.          |        |
  30.          |        |
  31.          |        |
  32.          |        |
  33.          |        |
  34.          |        |
  35.                  ----------------
  36.     instead of 
  37.                  ----------------
  38.          |        |
  39.          |        |
  40.          |        |
  41.          |        |
  42.          |     Box      |
  43.          |        |
  44.          |        |
  45.          |        |
  46.          |        |
  47.                  ----------------
  48.  
  49.   2. Similar problems with the text (objects?) as well.  They don't seem
  50.      to have a good notion of "natural" size.  I have to manually resize
  51.      them to the smallest box.  This is again a pain when I need to
  52.      vertically center a text with some other object.
  53.  
  54. Can someone tell me what I'm missing and/or the manual pages to read?
  55.  
  56. Thanks in advance.
  57.  
  58.  
  59. -- 
  60. Sandeep Kochhar
  61. Computervision, MS 5-2            email: skochhar@cvbnet.prime.com
  62. 14 Crosby Drive                   tel:   (617) 275-1800 x 4618          
  63. Bedford, MA 01730                 fax:   (617) 275-8506
  64.