Skip to content

Commit

Permalink
qtui: Set size policy of time slider to MinimumExpanding
Browse files Browse the repository at this point in the history
  • Loading branch information
jlindgren90 committed Apr 18, 2020
1 parent ed0f136 commit f873b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qtui/time_slider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ TimeSlider::TimeSlider(QWidget * parent)
m_style(new TimeSliderStyle)
{
setFocusPolicy(Qt::NoFocus);
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
setStyle(m_style);

m_label->setContentsMargins(audqt::sizes.FourPt, 0, 0, 0);
Expand Down

0 comments on commit f873b25

Please sign in to comment.