From a5322b93c69b20e513498063972b092fec745ef3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 14 Feb 2002 18:21:28 +0000 Subject: [PATCH] pure cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3543 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_deliminset.C | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mathed/math_deliminset.C b/src/mathed/math_deliminset.C index 952318be26..b4cd2bc507 100644 --- a/src/mathed/math_deliminset.C +++ b/src/mathed/math_deliminset.C @@ -40,8 +40,8 @@ void MathDelimInset::normalize(NormalStream & os) const int MathDelimInset::dw() const { int w = height() / 5; - if (w > 12) - w = 12; + if (w > 8) + w = 8; if (w < 4) w = 4; return w; @@ -58,7 +58,7 @@ void MathDelimInset::metrics(MathMetricsInfo const & mi) const int d0 = std::max(xcell(0).descent(), d) + h0; ascent_ = std::max(a0, d0) + h0; descent_ = std::max(a0, d0) - h0; - width_ = xcell(0).width() + 2 * dw() + 4; + width_ = xcell(0).width() + 2 * dw() + 8; } @@ -66,9 +66,9 @@ void MathDelimInset::draw(Painter & pain, int x, int y) const { int const w = dw(); int const b = y - ascent_; - xcell(0).draw(pain, x + w + 2, y); - mathed_draw_deco(pain, x + 1, b, w, height(), left_); - mathed_draw_deco(pain, x + width() - w - 1, b, w, height(), right_); + xcell(0).draw(pain, x + w + 4, y); + mathed_draw_deco(pain, x + 4, b, w, height(), left_); + mathed_draw_deco(pain, x + width() - w - 4, b, w, height(), right_); } -- 2.39.2