1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

Fixes ToolTip Item showing out of boundaries tooltips

This patch fixes ToolTip Item showing out of boundaries
Tooltips when in resizing animation.

Fixes 

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-28 09:28:25 -02:00 committed by Dirk Hohndel
parent 3264255a7a
commit f8c2efe1ce

View file

@ -1527,7 +1527,7 @@ ToolTipItem::ToolTipItem(QGraphicsItem* parent): QGraphicsPathItem(parent), back
{
title = new QGraphicsSimpleTextItem(tr("Information"), this);
separator = new QGraphicsLineItem(this);
setFlags(ItemIgnoresTransformations | ItemIsMovable);
setFlags(ItemIgnoresTransformations | ItemIsMovable | ItemClipsChildrenToShape);
status = COLLAPSED;
updateTitlePosition();
setZValue(99);