> Ah, Scale now persists. There is a problem with Custom %. It changes to > 0 cm when I close and open the dialogue box. But view ps gets the change > OK. When my old-graphics suddenly became new graphics, my Width 100% > became Width 100 p%, which was wrong. I assumed then that 100 p% meant > 100 % of the page inside the margins.
it's the same than 100% of columnwidth attached a patch. Angus, please commit Herbert -- http://www.lyx.org/help/
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.272 diff -u -r1.272 ChangeLog --- src/frontends/xforms/ChangeLog 2002/02/01 18:53:49 1.272 +++ src/frontends/xforms/ChangeLog 2002/02/03 21:23:07 @@ -1,3 +1,8 @@ +2002-02-03 Herbert Voss <[EMAIL PROTECTED]> + + * xforms_helpers.C: fix bug with unit "%" in + updateWidgetsFromLengthString(...) + 2002-02-01 Angus Leeming <[EMAIL PROTECTED]> * FormGraphics.C (apply, update): respect the new DEFAULT state of Index: src/frontends/xforms/xforms_helpers.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/xforms_helpers.C,v retrieving revision 1.29 diff -u -r1.29 xforms_helpers.C --- src/frontends/xforms/xforms_helpers.C 2002/01/16 16:34:03 1.29 +++ src/frontends/xforms/xforms_helpers.C 2002/02/03 21:23:08 @@ -212,11 +212,12 @@ } // The unit is presumed to begin at the first char a-z + // or is the unit "%" string const tmp = lowercase(strip(frontStrip(str))); string::const_iterator p = tmp.begin(); for (; p != tmp.end(); ++p) { - if (*p >= 'a' && *p <= 'z') + if ((*p >= 'a' && *p <= 'z') || *p == '%') break; }