Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!cwjcc!tut.cis.ohio-state.edu!cs.utexas.edu!henry!volta.ece.utexas.edu!po From: po@volta.ece.utexas.edu Newsgroups: comp.windows.x Subject: Resizing in Vpane widget Message-ID: <191@henry.ece.utexas.edu> Date: 14 Jan 89 23:29:53 GMT Sender: news@henry.ece.utexas.edu Reply-To: po@volta.ece.utexas.edu () Organization: ECE, U. T. Austin Lines: 35 I have a set of command buttons inside a Form widget, which is in turn inside a Vpane widget, as follows: +---------------------------------------+ | | | Text Widget | | | +-------------------------------------o-+ | +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | | +-----+ +-----+ +-----+ +-----+ | | +-----+ +-----+ | | | | | | Form Widget | | +-----+ +-----+ | +-------------------------------------o-+ | | | Text Widget | | | +---------------------------------------+ Is it possible to : a) disable any resize of the Form widget when the user uses the Grip to change the size of both text widgets while at the same time b) allow the Form widget to resize to its optimum size when the user resizes the entire Vpane widget (for example, making it bigger so that all buttons are on one row) ? If I use XtPanedSetMinMax(), I cannot get (b). If I use XtPanedAllowResize(), I cannot get (a). Any ideas ? Thank you! Po Cheung (po@volta.ece.utexas.edu)