From 402b9ec19917ffbfe89a1684a08180bf1ae3cf67 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 13 Sep 2010 13:16:49 +0000 Subject: [PATCH] Revert r35339 for now following Enrico criticisms. I'll come back to it later. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35356 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index b9e55a34f8..48dbdd7a69 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -1053,6 +1053,10 @@ Dimension TextMetrics::rowHeight(pit_type const pit, pos_type const first, maxdesc = max(maxdesc, maxfontmetrics.maxDescent()); } + // This is nicer with box insets: + ++maxasc; + ++maxdesc; + ParagraphList const & pars = text_->paragraphs(); Inset const & inset = text_->inset(); -- 2.39.2