art@cayman.COM (Art Mellor) (09/11/89)
I have an application that uses a label widget. I am setting the bitmap to various different bitmaps of different sizes. I am unable to get the widget to change its size when I do this. I tried explicitly setting the XtNheight and width parameters. How do I do this? art@cayman.com
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (09/13/89)
> I have an application that uses a label widget. I am setting the bitmap to > various different bitmaps of different sizes. I am unable to get the widget > to change its size when I do this. I tried explicitly setting the XtNheight > and width parameters. How do I do this? Most likely your problem is not the Label widget, but the parent of the Label widget. The toolkit model for geometry management is that the parent must approve of any geometry request made by its children. Take another look at the parent, it is probabally disallowing the Label's geometry requests. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213