Path: utzoo!attcan!uunet!kddlab!titcca!fgw!flab!ayumi!yuki From: yuki@rei.stars.flab.Fujitsu.JUNET (Hiroyuki YOSHIDA) Newsgroups: comp.windows.x,fj.windows.x Subject: set_values procedure of LabelWidget (X11R2) Message-ID: Date: 5 Oct 88 01:06:20 GMT Sender: news@ayumi.stars.flab.fujitsu.JUNET Organization: Fujitsu Laboratories Ltd., Kawasaki, Japan. Lines: 18 When I tried to XtSetSensitive on a LabelWidget, the widget was forced to resize to the default width and height! Hacking the source codes, I found the reason; it is because the set_values procedure (SetValues) of LabelWidget *always changes* the width and/or height unless new values of them are not specified. Since XtSetSensitive calls XtSetValues to set the sensitive field, it makes the current widget become the default size. It's very curious to me! (Sorry for my poor English, or Janglish :-) -- Hiroyuki Yoshida yuki@flab.Fujitsu.JUNET yuki%flab.Fujitsu.JUNET@uunet.uu.NET