Fix the size of the now-playing widget to make it line up exactly with the top of the player controls
This commit is contained in:
parent
6a64b8f8f3
commit
7a60b52704
@ -630,8 +630,7 @@ MainWindow::MainWindow(
|
||||
|
||||
// Now playing widget
|
||||
ui_->now_playing->set_ideal_height(ui_->status_bar->sizeHint().height() +
|
||||
ui_->player_controls->sizeHint().height() +
|
||||
1); // Don't question the 1
|
||||
ui_->player_controls->sizeHint().height());
|
||||
connect(playlists_, SIGNAL(CurrentSongChanged(Song)), ui_->now_playing, SLOT(NowPlaying(Song)));
|
||||
connect(player_, SIGNAL(Stopped()), ui_->now_playing, SLOT(Stopped()));
|
||||
connect(ui_->now_playing, SIGNAL(ShowAboveStatusBarChanged(bool)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user