draw delimiters a bit smaller

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2872 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-10-12 14:05:04 +00:00
parent 748af630f5
commit efbcfbc067

View File

@ -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_);
}