XmCreateOptionMenu and const. labelsize ?

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

Submitted by walter on Thu, 02/25/2010 - 15:39. General Questions
Hi all,
i would like to have a constant width for all OptionLabels.
I have tried without success:

n = 0;
XtSetArg (args[n], XmNwidth, 250); n++;
XtSetArg (args[n], XmNheight, 250); n++;
XtSetArg (args[n], XmNsubMenuId, *pulldown); n++;
XtSetArg (args[n], XmNmenuHistory,menu[0]._t ); n++;
*cascade = XmCreateOptionMenu(main_rc, menu[0]._S , args, n);
XtManageChild (*cascade);

note i can expand all menu[0]._S to the same size by adding spaces but i can not handle changes via resources.

Fri, 06/29/2012 - 10:20
#1
8 posts / 0 new
Last post
-1
Fri, 06/29/2012 - 10:20
-1
Fri, 06/29/2012 - 10:21
-2
Fri, 06/29/2012 - 10:23
-20
Fri, 06/29/2012 - 10:23
-24
Fri, 06/29/2012 - 10:21
-24
Fri, 06/29/2012 - 10:22
-36
Fri, 06/29/2012 - 10:22