Juergen Spitzmueller wrote: > Herbert Voss wrote: > > there are still some new bugs: > > > > insert 75p% -> not possible, invalid length > > No, not invalid. The problem is that you can only enter three > characters into the input field (try 7p%). But I have not done this! > I'll have a look.
Fixed (patch attached). > > insert 75% in the width field and it will be accepted > > but the width is set to 0cm! > > True :-( > Strange, it works in Minipage (and it's the same input filter). > I'll look. I'm shure now that this has nothing to do with my changes. Are /you/ shure that % worked before? I have removed the filter and it didn't work either. Is % a valid lenght for Graphics? If not, it should be removed from the choices! BTW: In the Graphics and Minipage dialogs, changing just the choice doesn't enable OK/ Apply, while in Paragraph and Document it (correctly) does. Why? Juergen.
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.267 diff -u -r1.267 ChangeLog --- src/frontends/xforms/ChangeLog 2002/01/30 14:55:27 1.267 +++ src/frontends/xforms/ChangeLog 2002/01/30 18:21:13 @@ -1,5 +1,9 @@ 2002-01-29 Jürgen Spitzmüller <[EMAIL PROTECTED]> + * FormGraphics.C: Fix MAXDIGIT values for height and width. + +2002-01-29 Jürgen Spitzmüller <[EMAIL PROTECTED]> + * forms/form_graphics.fd: Change the dialog to look similar as the nice QT2-Version (added tabfolder "Bounding Box", rearrangements); added text_warning field.. Index: src/frontends/xforms/FormGraphics.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormGraphics.C,v retrieving revision 1.38 diff -u -r1.38 FormGraphics.C --- src/frontends/xforms/FormGraphics.C 2002/01/30 14:55:27 1.38 +++ src/frontends/xforms/FormGraphics.C 2002/01/30 18:21:14 @@ -37,8 +37,8 @@ // Bound the number of input characters int const SCALE_MAXDIGITS = 3; -int const WIDTH_MAXDIGITS = 3; -int const HEIGHT_MAXDIGITS = 3; +int const WIDTH_MAXDIGITS = 10; +int const HEIGHT_MAXDIGITS = 10; int const ROTATE_MAXCHARS = 4; int const FILENAME_MAXCHARS = 1024;