forked from qt-creator/qt-creator
if a tooltip, do as tooltip do
The fake tooltip duplication is not nice.
This commit is contained in:
@@ -364,7 +364,8 @@ FunctionArgumentWidget::FunctionArgumentWidget():
|
||||
m_popupFrame->setLayout(layout);
|
||||
|
||||
setTextFormat(Qt::RichText);
|
||||
setMargin(1);
|
||||
setMargin(1 + style()->pixelMetric(QStyle::PM_ToolTipLabelFrameWidth, 0, this));
|
||||
setIndent(1);
|
||||
|
||||
qApp->installEventFilter(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user