[vlc-devel] [PATCH 21/29] qml: correct spacing and alignment of ListItem
Prince Gupta
guptaprince8832 at gmail.com
Tue Aug 4 13:34:54 CEST 2020
---
modules/gui/qt/widgets/qml/ListItem.qml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/widgets/qml/ListItem.qml b/modules/gui/qt/widgets/qml/ListItem.qml
index 32e2dc5992..80e779a2f2 100644
--- a/modules/gui/qt/widgets/qml/ListItem.qml
+++ b/modules/gui/qt/widgets/qml/ListItem.qml
@@ -110,12 +110,14 @@ NavigableFocusScope {
Item {
id: innerRect
anchors.fill: parent
- anchors.margins: VLCStyle.margin_xxsmall
- anchors.verticalCenter: parent.verticalCenter
+ anchors.leftMargin: VLCStyle.margin_small
RowLayout {
anchors.fill: parent
anchors.rightMargin: VLCStyle.margin_xxsmall
+ spacing: VLCStyle.margin_xsmall
+ Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
+
Item {
Layout.preferredWidth: coverLoader.item.width
Layout.preferredHeight: coverLoader.item.height
--
2.25.1
More information about the vlc-devel
mailing list