🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37629

Re: help with widgets

#37629
From: Chris D. Peterson
Date: Fri, 02 Mar 1990 20:02
35 lines
1400 bytes
> Jim Thorsley writes:

> ...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...

The R4 widget should do what you ask.  If a child of the Pane asks for a resize
and the Pane allows it to resize (XtNallowResize is TRUE) the it performs
the following:

1) Resize all children to their "preferred size".

2) Attempt to resize the Pane to accomadate the new size change.

And if necessary:

3) Forcibly resize the other children according to the rules outlined
   in section 6.4.4 of the R4 Athena Widget Documentation.

If you can send me an example program of different behavior then I will take a
look at it.


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213


------- End of Unsent Draft

------- End of Forwarded Message
Technical Details
Message-ID: <9003022002.AA17212@expo.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit
References: <172@ria.ccs.uwo.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit
From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson)
Newsgroups: comp.windows.x
Subject: Re: help with widgets
Message-ID: <9003022002.AA17212@expo.lcs.mit.edu>
Date: 2 Mar 90 20:02:01 GMT
References: <172@ria.ccs.uwo.ca>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 35