lindholm@stilton.ucs.ubc.ca (George Lindholm) (10/23/90)
I trying to write a client using the pane widget on a Sun 4 with X11R4-18 and I am seeing some very strange behaviour that I am hoping someone can explain to me. This is the layout of the widgets: +--------- toplevel --------------------------------- | +--------- pane ----------------------------------- | | +---------- viewport (with vertical scrollbar) -- | | | +---------- box ------------------------------- | | | | +---------- form 1 -------------------------- | | | | | data | | | | +-------------------------------------------- . . . . . . . . . | | | | +---------- form n -------------------------- | | | | | data | | | | +-------------------------------------------- | | | +---------------------------------------------- | | +------------------------------------------------ | | | | +--------- viewport 2 ------------------- grip -- . . . . . . . . . | | +------------------------------------------------ | +-------------------------------------------------- +---------------------------------------------------- When I realize toplevel the scrollbar in the viewport allows me to scroll among the various forms. When I resize the viewport using the grip I loose this ability (the viewport seems to think that all of its children are exposed). Here is the strange part, if I resize toplevel from the window manager (tvm) I regain the ability to scroll EVEN if I resize the viewport again with the grip. What is going on??? And how do I set things up so that I can always scroll through the viewport?? Thanks lindholm@ucs.ubc.ca George_Lindholm@mtsg.ubc.ca USERGNL@UBCMTSG.BITNET University of British Columbia Computing Services (604) 228-4375