fix: too big

This commit is contained in:
rankun 2020-01-19 22:31:54 +08:00
parent b39848e79f
commit 1895bb4b09

View file

@ -145,8 +145,7 @@ void VideoForm::updateShowSize(const QSize &newSize)
showSize.setHeight(qMin(newSize.height(), screenRect.height() - 200));
showSize.setWidth(showSize.height() * m_widthHeightRatio);
} else {
//showSize.setWidth(qMin(newSize.width(), screenRect.width()/2));
showSize.setWidth(qMin(newSize.width(), screenRect.width() - 200));
showSize.setWidth(qMin(newSize.width(), screenRect.width()/2));
showSize.setHeight(showSize.width() * m_widthHeightRatio);
}