Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fs2.rud.fzi!mr.x From: neumann@fzi.uka.de (Dieter Neumann) Newsgroups: comp.windows.x.motif Subject: multi-columns scrolled Message-ID: <90.333.18:09:25@ira.uka.de> Date: 29 Nov 90 18:09:25 GMT Sender: news@ira.uka.de (USENET News System) Organization: FZI Karlsruhe Lines: 20 I have a scrolled window with a fixed size which shall scroll some togglebuttons which are children of a rowcolum widget. The problem now is, that there is enough space for more than one column of togglebuttons, but I don't know for how many and if possible, I don't want to calculate it. So I tried following for the rowcolumn widget: XtSetArg (al[ac], XmNwidth, 800); ac++; XtSetArg (al[ac], XmNresizeWidth, False); ac++; XtSetArg (al[ac], XmNorientation, XmHORIZONTAL); ac++; I hoped, that it would put as many togglebuttons as possible into one row and then wrap. Indeed it worked except, that the height of the rowcolumn widget becomes just the height of one row, so that the following rows don't appear. What am I doing wrong? Thanks for any help