Submitted by Anonymous on Thu, 09/12/2002 - 14:33. Developers
I though I knew this!
I want to know the (rough) display string length of a line of text I intend putting into a SelectionDisplay widget so
I can suitably adjust the box width etc. Is there something like XmtLayoutConvertSizeToPixels that does not require
Layout class widgets?
Thanks in anticipation.
See XmStringWidth() and similar functions. But then you need to know how the widget displays that text to know how big the widget is.
Thanks dbl, I remembered it this morning in my sleep!!!
Now using it + height to make the presentation more tidy.