Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!orc.olivetti.COM!lauwers From: lauwers@orc.olivetti.COM (Chris Lauwers) Newsgroups: comp.windows.x Subject: text width in text widgets Message-ID: <8806102243.AA25900@modena.orc.olivetti.com> Date: 10 Jun 88 22:43:19 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 19 Is it possible to use the resource data base to specify the maximum number of characters per line in a text widget ? In xmh's compose window, for instance, I would like to restrict lines to be 80 characters long. Right now, it looks like lines have infinite lenght. The documentation seems to suggest that this is possible, in fact, it suggests that the text widget determines the number of characters per line based on the geometry of the window. This is not what happens (I'm running xmh on sun3/60, sunos3.4, X.V11R2 patchlevel 33. I use a 14pt courier font that I converted from sunview). Even if this worked, I would still like to be able to specify the number of characters per line directly (and let the toolkit determine the geometry of the window based on the number of characters, rather than the other way around). Chris Lauwers lauwers@orc.olivetti.com