[vlc-commits] qml: scale cover image less agressively in Player
Prince Gupta
git at videolan.org
Mon Feb 8 10:00:02 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Jan 8 23:51:16 2021 +0530| [43ac59fd160afc36ba3760cf245359747a6c37c3] | committer: Pierre Lamot
qml: scale cover image less agressively in Player
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43ac59fd160afc36ba3760cf245359747a6c37c3
---
modules/gui/qt/player/qml/Player.qml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml
index f5f8aa53bb..eb1c179893 100644
--- a/modules/gui/qt/player/qml/Player.qml
+++ b/modules/gui/qt/player/qml/Player.qml
@@ -326,9 +326,8 @@ Widgets.NavigableFocusScope {
}
Item {
- Layout.fillHeight: true
Layout.preferredHeight: Math.max(Math.min(parent.height, parent.width - VLCStyle.margin_small * 2), 0)
- Layout.maximumHeight: rootPlayer.height / 2
+ Layout.maximumHeight: rootPlayer.height / 2.7182
Layout.minimumHeight: 1
Layout.preferredWidth: height * cover.sar
Layout.alignment: Qt.AlignHCenter
More information about the vlc-commits
mailing list