sundar@WHEATIES.AI.MIT.EDU (Sundar Narasimhan) (07/07/88)
Hi: I have the following question about the hp Form widget which does most of what I want except for one feature of the athena Form widget. I want to have a row of command buttons laid out one next to the other. However, I want their sizes to be resized so that each button is approximately the same width when the user resizes the entire form, with no inter widget spacing. As I understand it, the chaining in the hp Form widget works as far as the layout is concerned, but since it can only make the last widget's right edge float to the edge of the form, when I resize the form I end up with a few small widgets bunched up to the left and the last widget enlarging to take up all the remaining space. Is there any other layout manager that can provide such a functionality or is there a way to specify constraints to the form widget to get it to do this? -Sundar ps. two wishes: 1. I would rather that the "resizable" option be split into "growable" and "shrinkable" (In the hp Form widget this seems to exclusively mean "shrinkable" except for the rightmost or bottom most widget which is the cause of the above problem). 2. There should be a way of specifying that along a horizontal (vertical) chain of constraints, the width (height) of a widget should be a certain percentage. A null value for this percentage could be used to indicate equal widths (heights) for all widgets in the chain.