Article View: comp.windows.interviews
Article #1472Glyph: :request()
From: Brian M Kennedy
Date: Thu, 13 Jun 1991 21:27
Date: Thu, 13 Jun 1991 21:27
38 lines
1981 bytes
1981 bytes
Question on InterViews 3.0 Requisitions:
If a TBBox contains 3 Glyphs with the following requisitions:
LB: natural = 12.48, stretch = 0, shrink = 0
G: natural = 50, stretch = 1e+13, shrink = 0
LE: natural = 12.48, stretch = 0, shrink = 0
then why does the TBBox request:
B: natural = 74.96, stretch = 0, shrink = 0
I would have expected stretch to be 1e+13 -- that is, the sum
of the stretchabilities.
If I include only Glyph G in the TBBox B, then it requests:
B: natural = 50, stretch = 1e+13, shrink = 0
as I would expect.
From these two examples, it appears stretch of a TBBox is the
min of its components stretch's. Is this correct? If so, why?
Given that, how do I compose the following:
+-------------------------------------+ <----+
| fixed height | |
+-------------------------------------+ |
| | |
| variable height (varies as outer | resizable height
| box is resized) | |
+-------------------------------------+ |
| fixed height | |
+-------------------------------------+ <----+
Thanks for any help.
---------------------------------
Brian M. Kennedy <bmk@csc.ti.com>
Computer Systems Laboratory
Computer Science Center
Texas Instruments Incorporated
Technical Details
Message-ID:
<9106132127.AA06972@ninja.csc.ti.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!ninja.csc.ti.com!bmkShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!ninja.csc.ti.com!bmk From: bmk@ninja.csc.ti.com (Brian M Kennedy) Newsgroups: comp.windows.interviews Subject: Glyph: :request() Message-ID: <9106132127.AA06972@ninja.csc.ti.com> Date: 13 Jun 91 21:27:34 GMT Article-I.D.: ninja.9106132127.AA06972 Sender: news@shelby.stanford.edu (USENET News System) Reply-To: bmk@csc.ti.com Organization: Internet-USENET Gateway at Stanford University Lines: 38