Merge pull request #2282 from PhenomRetroShare/Fix_ElidedLabelToolTipBackground

Fix ElidedLabel ToolTip background color.
This commit is contained in:
csoler 2021-02-02 18:50:50 +01:00 committed by GitHub
commit c1eb060972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -34,10 +34,10 @@ ElidedLabel::ElidedLabel(const QString &text, QWidget *parent)
, mElided(false)
, mOnlyPlainText(false)
, mContent(text)
, mRectElision(QRect())
, mTextColor(QColor())
{
setStyleSheet("background-color: rgba(0,0,0,0%)");
mRectElision = QRect();
setStyleSheet("ElidedLabel{background-color: rgba(0,0,0,0%)}");
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
}
@ -46,10 +46,10 @@ ElidedLabel::ElidedLabel(QWidget *parent)
, mElided(false)
, mOnlyPlainText(false)
, mContent("")
, mRectElision(QRect())
, mTextColor(QColor())
{
setStyleSheet("background-color: rgba(0,0,0,0%)");
mRectElision = QRect();
setStyleSheet("ElidedLabel{background-color: rgba(0,0,0,0%)}");
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
}

View File

@ -154,7 +154,6 @@ GxsForumThreadWidget StyledElidedLabel#forumName
padding: 2px;
font: bold;
font-size: 15px;
text-decoration: underline;
}
GroupTreeWidget