diff options
| author | Camilo Higuita <milo.h@aol.com> | 2017-06-19 02:09:31 (GMT) |
|---|---|---|
| committer | Camilo Higuita <milo.h@aol.com> | 2017-06-19 02:09:31 (GMT) |
| commit | fc5fdec5abda489a86d6bfd5d9d96a314748a057 (patch) | |
| tree | 08db16c8a92d4a625eb6980ac251cc0b45b43f72 | |
| parent | 05e8b8019eb0f9645d1c8c71ec2658380db7afba (diff) | |
more foxes
| -rw-r--r-- | mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 4754d58..5f4366c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -675,7 +675,7 @@ void MainWindow::movePanel(const int &pos) rightFrame->show(); // rightFrame->window()->setContentsMargins(6,6,6,6); rightFrame->window()->setFixedWidth(rightFrame->minimumSizeHint().width()); - rightFrame->window()->move(position.x()+this->size().width(),this->pos().y()); + rightFrame->window()->move(position.x()+this->size().width()-rightFrame->size().width(),this->pos().y()); playlistSta=OUT; break; case IN: @@ -1373,6 +1373,7 @@ void MainWindow::go_playlistMode() if(!ui->playlistUtils->isVisible()) ui->playlistUtils->setVisible(true); ui->tracks_view_2->setVisible(true); // album_art->borderColor=false; + this->setMaximumWidth(rightFrame->minimumSizeHint().width()); this->setMinimumWidth(rightFrame->minimumSizeHint().width()); QPropertyAnimation *animation = new QPropertyAnimation(this, "maximumWidth"); animation->setDuration(200); |
