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 #294 Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3264255a7a
commit
f8c2efe1ce
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue