Dear All
further to my bug-report I received this patch from the grace developers:
Hope this helps
Ian
> Here is a patch for lib/Xm/Scale.c in LT-0.91:
>
> @@ -722,8 +722,12 @@
> Scale_ScaleHeight(new_w) != Scale_ScaleHeight(old))
> {
> argc = 0;
> - XtSetArg(argl[argc], XmNwidth, Scale_ScaleWidth(new_w)); argc++;
> - XtSetArg(argl[argc], XmNheight, Scale_ScaleHeight(new_w)); argc++;
> + if (Scale_ScaleWidth(new_w) != Scale_ScaleWidth(old)) {
> + XtSetArg(argl[argc], XmNwidth, Scale_ScaleWidth(new_w)); argc++;
> + }
> + if (Scale_ScaleHeight(new_w) != Scale_ScaleHeight(old)) {
> + XtSetArg(argl[argc], XmNheight, Scale_ScaleHeight(new_w)); argc++;
> + }
>
> XtSetValues(sb, argl, argc);
>
> Feel free to forward it to the LT team :).
>
> Regards,
>
> Evgeny
>
> PS. There is a potential problem (not related to this issue) with
> Scale/Scrollbar in the Motif-2 variant of LT: XmNshowArrows in 2.0 is not a
> Boolean, but XtEnum:
>
> /************************************************************************
> * new ScrollBar showArrows define
> ************************************************************************/
>
> enum{ /* XmNONE */ XmEACH_SIDE = 1,
> XmMAX_SIDE, XmMIN_SIDE
> } ;
>
>
> --
> ____________________________________________________________
> / Evgeny Stambulchik <[EMAIL PROTECTED]> \
> / Plasma Laboratory, Weizmann Institute of Science, Israel \ \
> | Phone : (972)8-934-3610 == | == FAX : (972)8-934-3491 | |
> | URL : http://plasma-gate.weizmann.ac.il/~fnevgeny/ | |
> | Finger for PGP key >=====================================+ |
> |______________________________________________________________|
--
Ian Thurlbeck http://www.stams.strath.ac.uk/
Statistics and Modelling Science, University of Strathclyde
Livingstone Tower, 26 Richmond Street, Glasgow, UK, G1 1XH
Tel: +44 (0)141 548 3667 Fax: +44 (0)141 552 2079