[vlc-commits] qml: center HorizontalResizeHandle in MusicArtistsAlbums
Fatih Uzunoglu
git at videolan.org
Mon Dec 7 10:08:34 UTC 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Dec 4 02:01:51 2020 +0300| [1f4113bdf53927c6c9e86500f2c3ea7614b72851] | committer: Pierre Lamot
qml: center HorizontalResizeHandle in MusicArtistsAlbums
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f4113bdf53927c6c9e86500f2c3ea7614b72851
---
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)
: ({})
}
-
}
}
More information about the vlc-commits
mailing list