🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37442

help with widgets

#37442
From: Jim Thorsley
Date: Tue, 27 Feb 1990 21:21
13 lines
1295 bytes
I'm writing a widget application which displays a daytimer page on the screen.
I'm using the Paned widget which contains 30 Box widgets. Each box contains
a label, an ascii string, and a button. When the user types into the string
it will wrap to multiple lines when needed and the string widget will grow
vertically causing the box to grow. What I want is the paned widget to also
grow to accomodate the expaned box. But, no, it decides to shrink the last
box instead. I've set *allowResize to True, and *resizable to True. No go.
I've even set up a callback on the ascii source widget, check the box size
and set the paned widget's height if the box changes size. But, the paned
widget will not resize and the height resource doesn't change. Any ideas
on how to get a complex widget to grow? Is this a bug or a feature?

Many thanks in advance..
Technical Details
Message-ID: <172@ria.ccs.uwo.ca>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!ria!csd.uwo.ca!thor

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!ria!csd.uwo.ca!thor
From: thor@csd.uwo.ca (Jim Thorsley)
Newsgroups: comp.windows.x
Subject: help with widgets
Message-ID: <172@ria.ccs.uwo.ca>
Date: 27 Feb 90 21:21:38 GMT
Sender: news@ria.ccs.uwo.ca
Reply-To: thor@csd.uwo.ca (Jim Thorsley)
Organization: Computer Science Department - Univ. of Western Ontario
Lines: 13