Commit 4c0f490e authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Use QFrame::Box with Raised

parent ee815f49
......@@ -201,7 +201,7 @@ public:
{
setWindowFlags(Qt::FramelessWindowHint | Qt::BypassGraphicsProxyWidget | Qt::ToolTip);
document()->setDocumentMargin(5);
setFrameStyle(QFrame::Box);
setFrameStyle(QFrame::Box | QFrame::Raised);
connect(&m_hideTimer, &QTimer::timeout, this, &Tooltip::hideTooltip);
setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
......@@ -218,13 +218,6 @@ public:
pal.setColor(QPalette::Text, normal);
setPalette(pal);
this->setStyleSheet(QStringLiteral("Tooltip{"
"border-left: 1px solid %1;"
"border-top: 1px solid %1;"
"border-bottom: 1px solid %1;"
"}")
.arg(normal.name()));
updateFont();
};
updateColors(KTextEditor::Editor::instance());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment