Jean-Marc Lasgouttes wrote:
> Juergen, there is some code which is turned off in xforms_helpers.C
> for the updateWidgetsFromLength methods. I did not turn them on at
> the time (look at the #if 1) because I wanted to be safe, but it
> seems to me that they just work (and they are much simpler than the
> original versions). Could you try them a bit and turn them on if the
> satisfy you? I remember that I thought at the time they were OK, but
> I am probably not familiar enough with the old code to be sure that
> they do the same thing.

Yes, I saw it. I can have a look at it and play a little. Concerning 
the Code safeness, I think it's good if Angus could have a look, too.
He's written that part, if my memory is correct.

> Hmm, not that I look at them again, it seem they will only work for
> plain LyXLenght, but LyXGlueLength. Anyway, I guess a different set
> of methods should be needed for glue lengths.

I don't know. Where do we need gluelenghts together with that method? 
Only in Paragraph VSpace, I think.
And I don't know how we could update a widget (one field, one choice) 
from a gluelenght (>= 2 lenghts, 2 units). We do it for a special case 
in VSpace (in FormParagraph), but that case is very special and unique, 
do we need to move it to xforms_helpers?

Regards,
Juergen.

> Comments?
>
> JMarc

Reply via email to