Path: utzoo!attcan!ncrcan!scocan!simon From: simon@sco.COM (Simon Tooke) Newsgroups: comp.windows.x.motif Subject: Bottom window in PanedWindow starts off huge - need help Message-ID: <1991Jan18.145532.758@sco.COM> Date: 18 Jan 91 14:55:32 GMT Sender: news@sco.COM (News administration) Organization: SCO Canada, Inc. Lines: 33 Hello. I am using the Motif Paned Window (the widget where children are stacked vertically and separated by a control sash that the user can move up and down). I have two children. Although the top one in my REAL application is more complex, let's say they are both Scrolled Text windows (the top one is actually a scrolled window). When this monster comes up on the screen, the control sash is up at the top of the paned window, the top edit window is squished to invisibility, and the bottom window takes up all the space. How can I control where the sash goes? +--------------------------------------+ +----------------------------------[]--+ | | | bottom edit widget | | | +--------------------------------------+ My other problem is how do I move the sash and set maximum sizes on the fly? I've been setting constraint resources on the children of the paned window (i.e. my two scrolled text windows), but to no avail. Anybody with a couple of tips? -simon tooke -- =============================================================================== Simon Tooke SCO Canada, Inc. (formerly HCR Corporation) (416) 922-1937 130 Bloor St. West. Suite 1001, Toronto, Ontario, Canada ...!scocan!simon ...!uunet!scocan!simon