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
@ -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…
x
Reference in New Issue
Block a user