Uwe Stöhr wrote:
> Since 1.4 LyX doesn't understand decimal points in the bounding box sizes
> of graphics: Inserting a decimal point isn't possible and existing graphics
> that already have decimal points (inserted with LyX 1.3) can't be modified.

Attached the fix for 1.4. The same for 1.5 I guess.

Jürgen
Index: src/frontends/qt2/QGraphicsDialog.C
===================================================================
--- src/frontends/qt2/QGraphicsDialog.C	(Revision 16624)
+++ src/frontends/qt2/QGraphicsDialog.C	(Arbeitskopie)
@@ -52,10 +52,10 @@
 
 	angle->setValidator(new QDoubleValidator(-360, 360, 2, angle));
 
-	lbX->setValidator(new QIntValidator(lbX));
-	lbY->setValidator(new QIntValidator(lbY));
-	rtX->setValidator(new QIntValidator(rtX));
-	rtY->setValidator(new QIntValidator(rtY));
+	lbX->setValidator(new QDoubleValidator(lbX));
+	lbY->setValidator(new QDoubleValidator(lbY));
+	rtX->setValidator(new QDoubleValidator(rtX));
+	rtY->setValidator(new QDoubleValidator(rtY));
 
 	displayscale->setValidator(new QIntValidator(displayscale));
 	height->setValidator(unsignedLengthValidator(height));

Reply via email to