mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
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:
parent
748af630f5
commit
efbcfbc067
@ -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_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user