]> git.lyx.org Git - features.git/commitdiff
Cell in delimiter inset should not be tight
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 24 May 2019 09:10:17 +0000 (11:10 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:30 +0000 (15:48 +0200)
Fixes bug #11337.

src/mathed/InsetMathDelim.cpp

index 6a2be5e118e3cad48a26b8a5f995a9aa15c46d1b..1989d48dc2d9c6d840f810ba0a4123b80834ddb6 100644 (file)
@@ -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;