mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05:00
Merge pull request #2282 from PhenomRetroShare/Fix_ElidedLabelToolTipBackground
Fix ElidedLabel ToolTip background color.
This commit is contained in:
commit
c1eb060972
@ -34,10 +34,10 @@ ElidedLabel::ElidedLabel(const QString &text, QWidget *parent)
|
|||||||
, mElided(false)
|
, mElided(false)
|
||||||
, mOnlyPlainText(false)
|
, mOnlyPlainText(false)
|
||||||
, mContent(text)
|
, mContent(text)
|
||||||
|
, mRectElision(QRect())
|
||||||
, mTextColor(QColor())
|
, mTextColor(QColor())
|
||||||
{
|
{
|
||||||
setStyleSheet("background-color: rgba(0,0,0,0%)");
|
setStyleSheet("ElidedLabel{background-color: rgba(0,0,0,0%)}");
|
||||||
mRectElision = QRect();
|
|
||||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,10 +46,10 @@ ElidedLabel::ElidedLabel(QWidget *parent)
|
|||||||
, mElided(false)
|
, mElided(false)
|
||||||
, mOnlyPlainText(false)
|
, mOnlyPlainText(false)
|
||||||
, mContent("")
|
, mContent("")
|
||||||
|
, mRectElision(QRect())
|
||||||
, mTextColor(QColor())
|
, mTextColor(QColor())
|
||||||
{
|
{
|
||||||
setStyleSheet("background-color: rgba(0,0,0,0%)");
|
setStyleSheet("ElidedLabel{background-color: rgba(0,0,0,0%)}");
|
||||||
mRectElision = QRect();
|
|
||||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,7 +154,6 @@ GxsForumThreadWidget StyledElidedLabel#forumName
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
font: bold;
|
font: bold;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
text-decoration: underline;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GroupTreeWidget
|
GroupTreeWidget
|
||||||
|
Loading…
x
Reference in New Issue
Block a user