From 1271d51e37c0bd00cd31023560716006fd5ede5c Mon Sep 17 00:00:00 2001 From: Fatih Uzunoglu Date: Fri, 27 Sep 2024 16:07:38 +0300 Subject: [PATCH] qml: do not align playlist delegate texts to the image Commit 21b64442 added spacing here, even though the texts should be aligned to the image. This broke layouting. Now that we deviate from the design by reducing the spacing between items, we can properly use spacing here without aligning the texts to the image. --- modules/gui/qt/playlist/qml/PlaylistDelegate.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/gui/qt/playlist/qml/PlaylistDelegate.qml b/modules/gui/qt/playlist/qml/PlaylistDelegate.qml index 33be72772e17..047f2803be5d 100644 --- a/modules/gui/qt/playlist/qml/PlaylistDelegate.qml +++ b/modules/gui/qt/playlist/qml/PlaylistDelegate.qml @@ -200,29 +200,25 @@ T.Control { Layout.fillWidth: true Layout.fillHeight: true Layout.leftMargin: VLCStyle.margin_large - spacing: VLCStyle.margin_xsmall + spacing: VLCStyle.margin_xxxsmall Widgets.ListLabel { id: textInfo - Layout.fillHeight: true Layout.fillWidth: true font.weight: model.isCurrent ? Font.Bold : Font.DemiBold text: model.title color: theme.fg.primary - verticalAlignment: Text.AlignTop } Widgets.ListSubtitleLabel { id: textArtist - Layout.fillHeight: true Layout.fillWidth: true text: model.artist || qsTr("Unknown Artist") color: theme.fg.primary - verticalAlignment: Text.AlignBottom } }