Xref: utzoo comp.sys.hp:3434 comp.windows.x:15046 Path: utzoo!censor!geac!jtsv16!uunet!samsung!emory!nastar!joel From: joel@nastar.UUCP (Joel Rives) Newsgroups: comp.sys.hp,comp.windows.x Subject: Re: hp form widget question Keywords: hp widgets, form widget Message-ID: <655@nastar.UUCP> Date: 10 Nov 89 15:56:25 GMT References: <378@euteal.ele.tue.nl> Reply-To: joel@nastar.UUCP (Joel Rives) Organization: Digital Transmissions Systems, Inc. Lines: 32 >mart@ele.tue.nl (Mart van Stiphout) (mart@ele.tue.nl, <378@euteal.ele.tue.nl>): >Problem: if I resize my application on startup using the -geometry option, >the rowcol widget will not grow above its default size (as mentioned in >the manual). >The workspace widget however grows larger than its default in the y direction >but not in the x direction. >Can anyone explain this behavior? You really haven't given enough information in your example. The rowcol widget has 3 different layout policies: minimize (the default), maximize and ignore. The default policy produces the behaviour you explained. The workspace widget should be resizable along both the x and y axis. This is dependant upon the constraint fields imposed upon it by the form widget. There are a number of tunable paramters which can effect the behaviour of a child of a form widget. You may know what these are already but you have not specified which constraint values you have imposed upon the workspace widget. In particular, you need to pay attention to the following: XtNxRefName -or- XtNxRefWidget XtNyRefName -or- XtNyRefWidget XtNxAddWidth XtNyAddHeight XtNxResizable (This is important for the results you desire) XtNyResizable (ditto) XtNattachRight (This is important for scaling along the x axis) XtNattachBottom (This is important for scaling along the y axis) Have Fun!!! Joel Rives