[vlc-commits] [Git][videolan/vlc][master] qml: try to fix polish loop in ArtworkInfoWidget
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon May 6 20:19:23 UTC 2024
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
3eb3ed28 by Fatih Uzunoglu at 2024-05-06T18:44:35+00:00
qml: try to fix polish loop in ArtworkInfoWidget
- - - - -
1 changed file:
- modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
Changes:
=====================================
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
=====================================
@@ -94,11 +94,11 @@ AbstractButton {
contentItem: RowLayout {
spacing: VLCStyle.margin_xsmall
- Widgets.ScaledImage {
+ Image {
id: coverImage
Layout.fillHeight: true
- Layout.preferredWidth: root.height
+ Layout.preferredWidth: height
source: {
if (!paintOnly && Player.artwork && Player.artwork.toString())
@@ -107,6 +107,8 @@ AbstractButton {
return VLCStyle.noArtAlbumCover
}
+ sourceSize.height: root.height * MainCtx.screen.devicePixelRatio
+
fillMode: Image.PreserveAspectFit
asynchronous: true
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3eb3ed2842aa92806c2d5e8696b120e43626569b
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3eb3ed2842aa92806c2d5e8696b120e43626569b
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list