y-coord in Conglomerate, this time properly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20103 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2007-09-06 14:17:03 +00:00
parent 6089258acc
commit 2ddba774ce

View File

@ -291,7 +291,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
case SubLabel:
case Corners:
textx = xx;
texty = top;
texty = baseline;
const_cast<InsetCollapsable *>(this)->setDrawFrame(false);
InsetText::draw(pi, textx, texty);
const_cast<InsetCollapsable *>(this)->setDrawFrame(true);