Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!paperboy!hsdndev!bunny!krs0 From: krs0@gte.com (Rod Stephens) Newsgroups: comp.windows.x.motif Subject: Pain resizing XmPanedWindowPanes Message-ID: <10969@bunny.GTE.COM> Date: 11 Apr 91 13:48:11 GMT Reply-To: krs0@bunny.GTE.COM (Rod Stephens) Organization: GTE Laboratories, Waltham, MA Lines: 40 (Running X11R4, Motif 1.1.1 on DECstation 3100) I am trying to resize the panes in an XmPanedWindow from within my program. I have set XmNallowResize = TRUE for the panes and I have set XmNrefigureMode = TRUE for the XmPanedWindow. If I try to use XtSetValues to change XmNheight of the panes, there is no effect. If I try to use XtMakeGeometryRequest to change the height, I get XtGeometryNo for an answer. If I use XtResizeWidget, the child resizes but the pane does not so the child is chopped at the bottom (if I grow the child) or I am left with a big empty area (if I shrink the child): +--------------------+ |+------------------+| || child 1 || <-- shrunk child 1 |+------------------+| | | | | <-- empty area | | | | +--------------------+ <-- sash |+------------------+| || child 2 || <-- child 2 |+------------------+| +--------------------+ Does anyone know how this is supposed to be done? +---------------------------------------------------------------+ | Rod Stephens | "Haven't I told you not to play | | GTE Laboratories, Inc | with my super-weapons? You might | | (617)466-4182 | devastate yourself!" | | krs0@gte.com | | +---------------------------------------------------------------+