vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Fri Dec 11 22:42:57 2020 +0530| [f44b4191822f85dbe20c0edbc15d784c5b7a2932] | committer: Pierre Lamot
qml: add borders around Music Expand delegate Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f44b4191822f85dbe20c0edbc15d784c5b7a2932 --- .../qml/MusicAlbumsGridExpandDelegate.qml | 20 ++++++++++++++++++++ modules/gui/qt/style/VLCStyle.qml | 1 + 2 files changed, 21 insertions(+) diff --git a/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml b/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml index 0fa629badd..b3b01c20c8 100644 --- a/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml +++ b/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml @@ -36,6 +36,26 @@ Widgets.NavigableFocusScope { Rectangle { anchors.fill: parent 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 { diff --git a/modules/gui/qt/style/VLCStyle.qml b/modules/gui/qt/style/VLCStyle.qml index 56a8020d8b..d14c256975 100644 --- a/modules/gui/qt/style/VLCStyle.qml +++ b/modules/gui/qt/style/VLCStyle.qml @@ -167,6 +167,7 @@ Item { property int expandCover_music_height: dp(171, scale) property int expandCover_music_width: dp(171, scale) property int expandCover_music_radius: gridCover_radius + property int expandDelegate_border: dp(1, scale) property int artistGridCover_radius: dp(90, scale) _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits