From: Jean-Marc Lasgouttes Date: Fri, 24 May 2019 09:10:17 +0000 (+0200) Subject: Cell in delimiter inset should not be tight X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=37c1a76ad9e4fe727308534c31285dedf18f1e3e;p=features.git Cell in delimiter inset should not be tight Fixes bug #11337. --- diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp index 6a2be5e118..1989d48dc2 100644 --- a/src/mathed/InsetMathDelim.cpp +++ b/src/mathed/InsetMathDelim.cpp @@ -93,7 +93,7 @@ void InsetMathDelim::metrics(MetricsInfo & mi, Dimension & dim) const { Changer dummy = mi.base.changeEnsureMath(); Dimension dim0; - cell(0).metrics(mi, dim0); + cell(0).metrics(mi, dim0, false); Dimension t = theFontMetrics(mi.base.font).dimension('I'); int h0 = (t.asc + t.des) / 2; int a0 = max(dim0.asc, t.asc) - h0;