git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17428 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-03-12 23:42:35 +00:00
parent fc0d04feab
commit d85978b58f

View File

@ -42,7 +42,7 @@ bool InsetMathRoot::metrics(MetricsInfo & mi, Dimension & dim) const
{
InsetMathNest::metrics(mi);
dim.asc = max(cell(0).ascent() + 5, cell(1).ascent()) + 2;
dim.des = max(cell(1).descent() + 5, cell(0).descent()) + 2;
dim.des = max(cell(0).descent() - 5, cell(1).descent()) + 2;
dim.wid = cell(0).width() + cell(1).width() + 10;
metricsMarkers(dim);
if (dim_ == dim)
@ -67,7 +67,6 @@ void InsetMathRoot::draw(PainterInfo & pi, int x, int y) const
xp[1] = x + w + 4; yp[1] = y - a + 1;
xp[2] = x + w; yp[2] = y + d;
xp[3] = x + w - 2; yp[3] = y + (d - a)/2 + 2;
//xp[4] = x; yp[4] = y + (d - a)/2 + 2;
xp[4] = x + w - 5; yp[4] = y + (d - a)/2 + 4;
pi.pain.lines(xp, yp, 5, LColor::math);
drawMarkers(pi, x, y);