[vlc-commits] qml: add borders around video expand panel

Prince Gupta git at videolan.org
Mon Jan 4 13:37:46 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Dec 14 18:50:21 2020 +0530| [adeb531c85de9ec07d743e266adafa6a7605ca82] | committer: Pierre Lamot

qml: add borders around video expand panel

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adeb531c85de9ec07d743e266adafa6a7605ca82
---

 .../qt/medialibrary/qml/VideoInfoExpandPanel.qml    | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml b/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml
index 8f577f12ad..04d82e116b 100644
--- a/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml
@@ -41,9 +41,28 @@ Widgets.NavigableFocusScope {
 
         implicitHeight: contentLayout.implicitHeight + ( VLCStyle.margin_normal * 2 )
         width: parent.width
-        clip: true
         color: VLCStyle.colors.bgAlt
 
+        Rectangle {
+            anchors {
+                top: parent.top
+                left: parent.left
+                right: parent.right
+            }
+            color: VLCStyle.colors.buttonBorder
+            height: VLCStyle.expandDelegate_border
+        }
+
+        Rectangle {
+            anchors {
+                bottom: parent.bottom
+                left: parent.left
+                right: parent.right
+            }
+            color: VLCStyle.colors.buttonBorder
+            height: VLCStyle.expandDelegate_border
+        }
+
         RowLayout {
             id: contentLayout
 



More information about the vlc-commits mailing list