aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamilo Higuita <milo.h@aol.com>2017-06-19 02:09:31 (GMT)
committerCamilo Higuita <milo.h@aol.com>2017-06-19 02:09:31 (GMT)
commitfc5fdec5abda489a86d6bfd5d9d96a314748a057 (patch)
tree08db16c8a92d4a625eb6980ac251cc0b45b43f72
parent05e8b8019eb0f9645d1c8c71ec2658380db7afba (diff)
more foxes
-rw-r--r--mainwindow.cpp3
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);