home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!srg!scurry
- From: scurry@srg.af.mil (Scott Curry)
- Subject: Question: resizing of resources
- Organization: ARINC Research, Corp.
- Date: Fri, 28 Aug 92 13:17:23 GMT
- Message-ID: <1992Aug28.131723.24171@srg.srg.af.mil>
- Followup-To: scurry%srg@uunet.uu.net
- Keywords: resize resources ODTI need some help with a particular Motif problem.
- Sender: scurry@pansy (Scott Curry)
- Lines: 59
-
-
-
-
- Hopefully, I can explain the problem clearly.
-
- What I have:
- * running SCO Unix 3.2 with ODT 1.0
-
- * a form with several children attached to it such as label gadgets,
- textboxes, listboxes, etc.
-
- * each of the children are sized and position according to a percentage.
-
- * These children are attached by position and the form is
- proportionally resizable.
-
-
- What I want:
- * each textbox to be sized according to the number of characters expected.
- for instance, if I have a textbox expecting 20 characters, I want the textbox
- to be only 20 characters long. I need to calculate this size on the fly.
-
- * all children of the form except the textboxes to be resized according
- to the correct proportions of the form when it is resized. The textbox
- children should remain the same size regardless of the form's size to
- support the above.
-
-
- So given the above, is there a way to do this with Motif? Second, is there an
- easy way to do this?
-
- Any help, guidance, comments, RTFM info, code frags, etc. would be most
- appreciated. Your welcome to post or email responses.
-
- If there is interest, I will post a summary of responses.
-
- Thanks in advance,
-
- Scott
-
-
- please try any of the email addresses below:
-
- scurry%srg@uunet.uu.net
- scurry@srg.af.mil
- uunet!srg!scurry
-
-
-
- --
- ***Disclaimer: The above are solely my own opinions, NOT of Arinc Research. *
- * Scott Curry, Analyst Email: scurry%srg@uunet.uu.net *
- * Phone: (410)266-4940 Smail: 2551 Riva Road MS 5-230 *
- * Fax: (410)573-3024 Annapolis, MD 21401-7461 *
- --
- ***Disclaimer: The above are solely my own opinions, NOT of Arinc Research. *
- * Scott Curry, Analyst Email: scurry%srg@uunet.uu.net *
- * Phone: (410)266-4940 Smail: 2551 Riva Road MS 5-230 *
- * Fax: (410)573-3024 Annapolis, MD 21401-7461 *
-