[vlc-commits] [Git][videolan/vlc][master] Fix alignment issues with qt-safe-area option

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Apr 9 14:19:18 UTC 2023



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


Commits:
653fd6de by Mohit Marathe at 2023-04-09T11:15:39+00:00
Fix alignment issues with qt-safe-area option

Signed-off-by: Mohit Marathe <mohitmarathe23 at gmail.com>

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
=====================================
@@ -135,8 +135,6 @@ FocusScope {
     Row {
         anchors.fill: parent
 
-        anchors.leftMargin: root.leftPadding
-
         visible: artistModel.count > 0
 
         Widgets.KeyNavigableListView {
@@ -179,7 +177,7 @@ FocusScope {
                 text: I18n.qtr("Artists")
                 font.pixelSize: VLCStyle.fontSize_large
                 color: artistList.colorContext.fg.primary
-                leftPadding: VLCStyle.margin_normal
+                leftPadding: root.leftPadding + VLCStyle.margin_normal
                 bottomPadding: VLCStyle.margin_small
                 topPadding: VLCStyle.margin_xlarge
             }
@@ -187,6 +185,8 @@ FocusScope {
             delegate: MusicArtistDelegate {
                 width: artistList.width
 
+                leftPadding: root.leftPadding
+
                 isCurrent: ListView.isCurrentItem
 
                 mlModel: artistModel



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/653fd6de8b6a73975b3480af681980c19ce3f2fa

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


VideoLAN code repository instance


More information about the vlc-commits mailing list