From 1f244f6282999b565772cdb976d793e27d19eba6 Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Mon, 13 Sep 2021 20:49:22 +0200 Subject: [PATCH] feat(StatusExpandableItem): Correct placement of expandable region in tertiary type --- src/StatusQ/Components/StatusExpandableItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatusQ/Components/StatusExpandableItem.qml b/src/StatusQ/Components/StatusExpandableItem.qml index 46067e1a..93ab180a 100644 --- a/src/StatusQ/Components/StatusExpandableItem.qml +++ b/src/StatusQ/Components/StatusExpandableItem.qml @@ -181,7 +181,7 @@ Rectangle { Loader { id: expandableRegion - anchors.top: secondaryText.bottom + anchors.top: !!secondaryText.text ? secondaryText.bottom: primaryText.bottom anchors.topMargin: 16 anchors.left: parent.left anchors.leftMargin: (statusExpandableItem.type === StatusExpandableItem.Type.Primary) ? 48 : 0