From d9d7af70194441e5fe69a9873d2c53519a3a5021 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 5 Sep 2007 21:52:12 +0000 Subject: [PATCH] Fix drawing of collapsable inset without button. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20082 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetCollapsable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 6ae8229c85..98de52f71f 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -283,7 +283,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const break; case NoButton: textx = xx; - texty = y; + texty = top; InsetText::draw(pi, textx, texty); break; case SubLabel: -- 2.39.2