tdm@allspice.lcs.mit.edu (Trevor Mendez) (04/29/91)
I am using a Form widget to display a configurable list of command buttons. The Form widget's parent is a transient shell widget. It is now likely that the list of command buttons may get VERY long. In this case the Form widget expands to a size many times longer than the height of the screen. When I put constraints on the transient shell's max_height, I have to resize it inorder for the constraint to be put into effect -- XtResizeWidget -- otherwise the window remains large until a resize is attempted with the window manager (for me twm). When I call XtResizeWidget and pass the shell's id, the form recalculated the layout and makes the command buttons really thin in order to make everything fit -- they become too small to read the labels. How do I get prevent the Form widget from re-doing the layout? XawFormDoLayout(form, FALSE) doesn't work. I want to keep the buttons large and then add a scrollbar. Thanx. Trevor Mendez tdm@allspice.lcs.mit.edu