mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
cosmeics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4586 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a51e6d7cab
commit
a03efe6936
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user