mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
Merge pull request #2282 from PhenomRetroShare/Fix_ElidedLabelToolTipBackground
Fix ElidedLabel ToolTip background color.
This commit is contained in:
commit
c1eb060972
2 changed files with 4 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue