[vlc-commits] qml: correct spacing and alignment of ListItem
Prince Gupta
git at videolan.org
Mon Aug 10 12:09:46 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Jul 23 14:26:36 2020 +0530| [56897e59c62a0f61c044697cf860d15d784b580a] | committer: Pierre Lamot
qml: correct spacing and alignment of ListItem
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=56897e59c62a0f61c044697cf860d15d784b580a
---
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
More information about the vlc-commits
mailing list