[comp.windows.x] Resizing Athena Menu button widgets

clint@ibmpcug.co.uk (Douglas Clinton) (03/10/90)

I have a menuButtonWidget  which is used to pull down a menu
with a list of strings. Selecting one of the menu items causes the
label in the button to be changed to that string. However, the
buton widget will not resize to fit the string so that if the
new string is longer than the original label it gets truncated.

I have tried setting XtNresizable as the button is the child of
a form widget, but I get a protocol error when calling 
XtCreatePopupShell to create the pull down menu when resizable
is set to true.

Any ideas why this is happening and how I can fix it?

Doug Clinton
clint@ibmpcug.co.uk

-- 
Automatic Disclaimer:
The views expressed above are those of the author alone and may not
represent the views of the IBM PC User Group.
--