git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4586 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-07-10 10:46:37 +00:00
parent a51e6d7cab
commit a03efe6936

View File

@ -57,8 +57,7 @@ void MathSymbolInset::metrics(MathMetricsInfo & mi) const
if (isRelOp())
width_ += 6;
// seperate things a bit
if (sym_->draw.size() > 1)
width_ += 2;
width_ += 2;
scriptable_ = false;
if (mi.base.style == LM_ST_DISPLAY)
@ -75,8 +74,7 @@ void MathSymbolInset::draw(MathPainterInfo & pi, int x, int y) const
// << "'\n";
if (isRelOp())
x += 3;
if (sym_->draw.size() > 1)
x += 1;
x += 1;
MathFontSetChanger dummy(pi.base, sym_->inset.c_str());
drawStr(pi, pi.base.font, x, y - h_, sym_->draw);
}