[vlc-devel] [PATCH 16/27] qml: center HorizontalResizeHandle in MusicArtistsAlbums
Fatih Uzunoglu
fuzun54 at outlook.com
Fri Dec 4 00:01:51 CET 2020
---
modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml b/modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
index 35c2472c9c..27fdaeee90 100644
--- a/modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
@@ -101,6 +101,7 @@ Widgets.NavigableFocusScope {
Widgets.KeyNavigableListView {
id: artistList
+ z: 1
width: resizeHandle.clamp(root.width / resizeHandle.widthFactor,
VLCStyle.colWidth(1) + VLCStyle.column_margin_width,
root.width * .5)
@@ -202,11 +203,12 @@ Widgets.NavigableFocusScope {
top: parent.top
bottom: parent.bottom
right: parent.right
+
+ rightMargin: -(width / 2)
}
sourceWidth: root.width
targetWidth: artistList.width
}
-
}
MusicArtist {
@@ -223,7 +225,6 @@ Widgets.NavigableFocusScope {
? artistModel.getDataAt(artistList.currentIndex)
: ({})
}
-
}
}
--
2.27.0
More information about the vlc-devel
mailing list