Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "157) How can I have a Pixmap in a Label?"
Next document is "159) How do you set the background color of a label widget using"
158) Why doesn't the XmLabel widget obey the XmNwith and XmNheight
that I give it?
[Last modified: May 95]
Answer: By default, XmLabel ignores these resources and instead computes a
size based on the size of the label string or pixmap. You can change this
behavior by setting XmNrecomputeSize to False. (Note that setting
XmNrecomputeSize to False can dramatically improve performance if you have
alot of labels or change them frequently.)
Ken Lee, http://www.rahul.net/kenton/
Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "157) How can I have a Pixmap in a Label?"
Next document is "159) How do you set the background color of a label widget using"