Article View: comp.windows.interviews
Article #1182problem understanding boxes and glue
From: Jason Baietto
Date: Fri, 17 May 1991 23:02
Date: Fri, 17 May 1991 23:02
25 lines
1855 bytes
1855 bytes
(I'm currently using iv 2.6)
Here's the scenario: I'm using a vbox as my top level interactor. I put
two hboxes into that. In the first hbox, I put some glue, a message, and
some more glue. In the second hbox I put a bunch of buttons with glue in
between them.
Here's the problem: I get "see through" gaps where the glue is. As far
as I can tell, the glue doesn't do any drawing, but that shouldn't matter
because the box should be drawing the background (or so I think).
Can somebody tell me what I'm doing wrong? I don't have this problem
with trays because I can specify the background interactor, but a tray
just seems like overkill for this simple task.
BTW: I've gotten all sorts of neat things working with iv, from scrolling
graphs to subclassed scenes, but this glue stuff's got me stuck.
|===================================|===================================|
| Jason "Jasper" Baietto | otteiaB "repsaJ" nosaJ |
| Harris Computer Systems Division | noisiviD smetsyS retupmoC sirraH |
| Fort Lauderdale, Florida | adirolF ,eladreduaL troF |
| jason@hcx2.ssd.csd.harris.com | moc.sirrah.dsc.dss.2xch@nosaj |
| phone: 305/977-5532 | 2355-779/503 :enohp |
|===================================|===================================|
Technical Details
Message-ID:
<3411@travis.csd.harris.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!travis!hcx1!jasonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!travis!hcx1!jason From: jason@hcx1.csd.harris.com (Jason Baietto) Newsgroups: comp.windows.interviews Subject: problem understanding boxes and glue Message-ID: <3411@travis.csd.harris.com> Date: 17 May 91 23:02:08 GMT Sender: news@travis.csd.harris.com Reply-To: jason@hcx1.csd.harris.com (Jason Baietto) Organization: Harris Computer Systems Division, Fort Lauderdale, FL Lines: 25