[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 153) How can I have a Pixmap in a Label?
Next Document: 155) How do you set the background color of a label widget using


154) 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



Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 153) How can I have a Pixmap in a Label?
Next Document: 155) How do you set the background color of a label widget using

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)

Last Update July 24 2008 @ 00:14 AM

© 2008 FAQS.ORG. All rights reserved.