Skip to content

Commit

Permalink
Try to fix status bar not resizing correctly for some.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Jun 18, 2016
1 parent bb6e8b8 commit d2d214b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ Player::Player(QWidget *parent)
// Add status bar.
m_statusLabel = new QPushButton;
m_statusLabel->setFlat(true);
m_statusLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
m_statusLabel->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
Util::setColorsToHighlight(m_statusLabel, QPalette::Button);
tabLayout->addWidget(m_statusLabel);
tabLayout->addStretch(10);
tabLayout->addStretch(1);
QGraphicsOpacityEffect *effect = new QGraphicsOpacityEffect(this);
m_statusLabel->setGraphicsEffect(effect);
m_statusFadeIn = new QPropertyAnimation(effect, "opacity", this);
Expand Down

0 comments on commit d2d214b

Please sign in to comment.