From da92cb4c7a7e7ef23e8974ce78c480bbd5952d16 Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Fri, 20 Mar 2020 17:27:46 +0200 Subject: [PATCH] Fix layout --- qml/components/MyDetailItem.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qml/components/MyDetailItem.qml b/qml/components/MyDetailItem.qml index b123260..4ee22e5 100644 --- a/qml/components/MyDetailItem.qml +++ b/qml/components/MyDetailItem.qml @@ -57,6 +57,7 @@ Item { right: parent.horizontalCenter rightMargin: Theme.paddingSmall leftMargin: detailItem.leftMargin + verticalCenter: parent.verticalCenter } horizontalAlignment: Text.AlignRight color: Theme.secondaryHighlightColor @@ -74,6 +75,7 @@ Item { right: parent.right leftMargin: Theme.paddingSmall rightMargin: detailItem.rightMargin + verticalCenter: parent.verticalCenter } horizontalAlignment: Text.AlignLeft color: Theme.highlightColor