From: André Pönitz Date: Fri, 12 Oct 2001 14:05:04 +0000 (+0000) Subject: draw delimiters a bit smaller X-Git-Tag: 1.6.10~20488 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=efbcfbc0675354f464aee26a571b435c1f8d9386;p=features.git draw delimiters a bit smaller git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2872 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_deliminset.C b/src/mathed/math_deliminset.C index 6bb3abb1a7..a4f7efafd1 100644 --- a/src/mathed/math_deliminset.C +++ b/src/mathed/math_deliminset.C @@ -82,8 +82,8 @@ void MathDelimInset::draw(Painter & pain, int x, int y) const yo(y); int const w = dw(); - int const b = y - ascent_ - 2; + int const b = y - ascent_; xcell(0).draw(pain, x + w + 2, y); - mathed_draw_deco(pain, x + 1, b, w, height() + 4, left_); - mathed_draw_deco(pain, x + width() - w - 1, b, w, height() + 4, right_); + mathed_draw_deco(pain, x + 1, b, w, height(), left_); + mathed_draw_deco(pain, x + width() - w - 1, b, w, height(), right_); }