[vlc-devel] [PATCH 11/33] qml: scale cover image less agressively in Player
Prince Gupta
guptaprince8832 at gmail.com
Wed Feb 3 10:56:27 UTC 2021
---
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
--
2.25.1
More information about the vlc-devel
mailing list