[comp.windows.x] text width in text widgets

lauwers@orc.olivetti.COM (Chris Lauwers) (06/11/88)

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