[vlc-commits] [Git][videolan/vlc][master] qt/PlaylistDelegate: fix height

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Nov 15 12:46:37 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
8d50e2be by Prince Gupta at 2021-11-15T12:32:23+00:00
qt/PlaylistDelegate: fix height

fixes #26278
fixup 856f20a22e0136e180f58615de3721acb1afa1ba

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistDelegate.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistDelegate.qml
=====================================
@@ -49,6 +49,12 @@ T.Control {
 
     rightPadding: Math.max(listView.scrollBarWidth, VLCStyle.margin_normal)
 
+    implicitWidth: Math.max(background.implicitWidth,
+                            contentItem.implicitWidth + leftPadding + rightPadding)
+
+    implicitHeight: Math.max(background.implicitHeight,
+                            contentItem.implicitHeight + topPadding + bottomPadding)
+
     ListView.delayRemove: mouseArea.drag.active
 
     // Events



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8d50e2be0c7c117344b34b36f634880748a0a1dd

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8d50e2be0c7c117344b34b36f634880748a0a1dd
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list