This I have already a long time.

In continuous spellchecking:
The dashed line indicating misspelled word is way too thin on my screen.
The patch changes it slightly. Can it go in?

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp
index 4c9118d..0dab14c 100644
--- a/src/RowPainter.cpp
+++ b/src/RowPainter.cpp
@@ -70,7 +70,7 @@ RowPainter::RowPainter(PainterInfo & pi,
 		// derive the line thickness from zoom factor
 		// the zoom is given in percent
 		// (increase thickness at 250%, 450% etc.)
-		solid_line_thickness_ = (float)(int((lyxrc.zoom + 50) / 200.0));
+		solid_line_thickness_ = (float)(1+int((lyxrc.zoom + 50) / 200.0));
 		// adjust line_offset_ too
 		solid_line_offset_ = 1 + int(0.5 * solid_line_thickness_);
 	}
@@ -78,7 +78,7 @@ RowPainter::RowPainter(PainterInfo & pi,
 		// derive the line thickness from zoom factor
 		// the zoom is given in percent
 		// (increase thickness at 150%, 250% etc.)
-		dotted_line_thickness_ = (float)(int((lyxrc.zoom + 50) / 100.0));
+		dotted_line_thickness_ = (float)(1+int((lyxrc.zoom + 50) / 100.0));
 		// adjust line_offset_ too
 		dotted_line_offset_ = int(0.5 * dotted_line_thickness_) + 1;
 	}

Reply via email to