Newsgroups: comp.windows.x.motif Path: utzoo!utgpu!watserv1!watdragon!watsol.waterloo.edu!tbray From: tbray@watsol.waterloo.edu (Tim Bray) Subject: Trouble initializing width of empty List widget Message-ID: <1991Jan9.034436.1439@watdragon.waterloo.edu> Sender: daemon@watdragon.waterloo.edu (Owner of Many System Processes) Organization: University of Waterloo Date: Wed, 9 Jan 91 03:44:36 GMT Lines: 16 I'm loading two ScrolledLists into a PanedWidget in a FormWidget. The trouble is that the application starts with both these lists empty. This causes a big problem with initial horizontal sizing of the lists; I can't seem to find a resource that will force them to come out at a reasonable width. Since they will be used for display of fixed-size items in a monospace font, I know what a reasonable minimum width is. I've resorted to preloading one of the lists with an item which is a string of blanks of the appropriate length - this causes the Pane and Form attachments to drag the other out to the appropriate size. But it's a kludge. Couldn't find anything in the doc... Am I missing something? Tim Bray tbray@watsol.waterloo.edu