switched to proper icon for SplitHeader

This commit is contained in:
fourtf 2018-01-13 04:08:39 +01:00
parent 61d0229b4c
commit 8deb096a27

View file

@ -44,7 +44,7 @@ SplitHeader::SplitHeader(Split *_split)
title->setMouseTracking(true); title->setMouseTracking(true);
QSizePolicy policy; QSizePolicy policy;
policy.setHorizontalStretch(1); policy.setHorizontalStretch(1);
policy.setHorizontalPolicy(QSizePolicy::Policy::Expanding); policy.setHorizontalPolicy(QSizePolicy::Policy::MinimumExpanding);
title->setSizePolicy(policy); title->setSizePolicy(policy);
// title->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum); // title->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
// layout->setStretch(1, 1000); // layout->setStretch(1, 1000);
@ -56,7 +56,7 @@ SplitHeader::SplitHeader(Split *_split)
moderation->setMouseTracking(true); moderation->setMouseTracking(true);
moderation->getLabel().setScaledContents(true); moderation->getLabel().setScaledContents(true);
moderation->getLabel().setTextFormat(Qt::RichText); moderation->getLabel().setTextFormat(Qt::RichText);
moderation->getLabel().setText("<img src=':/images/tool_moreCollapser_off16.png' />"); moderation->getLabel().setText("<img src=':/images/moderator_bg.png' />");
} }
// ---- misc // ---- misc