John Levon wrote:
> Well, much better, but can't we have a /little/ more space on the RHS?
> The cursor is actually drawn over the red border right now and it's
> still a little disconcerting

The result of the attached patch looks o.k. to me (also wrt bug 1804).

Jürgen 

P.S.: Why don't you just adjust it yourself?
Index: insettext.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.607
diff -u -r1.607 insettext.C
--- insettext.C	15 Feb 2005 19:53:42 -0000	1.607
+++ insettext.C	20 Feb 2005 17:57:25 -0000
@@ -212,7 +212,7 @@
 
 void InsetText::drawFrame(Painter & pain, int x, int y) const
 {
-	int const w = text_.width() + border_;
+	int const w = text_.width() + 2 * border_;
 	int const a = text_.ascent() + border_;
 	int const h = a + text_.descent() + border_;
 	pain.rectangle(x, y - a, w, h, frameColor());

Reply via email to