EXAMPLE: 'lesstif-0.94.4/test/Xm/label/test1.c'

In the original code, the parent of the label widget
is the toplevel widget.

With the following change:

  rc = XtVaCreateManagedWidget("rc",
    xmRowColumnWidgetClass, toplevel,
    NULL);

  one = XtVaCreateManagedWidget("One",
  xmLabelWidgetClass, rc, /* toplevel, */
...,
  XmNborderWidth, 10,
  XtVaTypedArg,   XmNborderColor, XmRString, "black", strlen("black"),
  NULL);

the right vertical border disappears.

winfried


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Lesstif-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

Reply via email to