diff --git a/src/controls/AboutPage.qml b/src/controls/AboutPage.qml --- a/src/controls/AboutPage.qml +++ b/src/controls/AboutPage.qml @@ -92,19 +92,29 @@ id: personDelegate AbstractCard { Layout.fillWidth: true - contentItem: RowLayout { - Layout.preferredHeight: Units.iconSizes.medium + contentItem: Item { + Layout.preferredHeight: nameLabel.height; Icon { - Layout.fillHeight: true - Layout.alignment: Qt.AlignVCenter - Layout.minimumWidth: Units.iconSizes.medium - Layout.maximumWidth: Units.iconSizes.medium + anchors { + top: parent.top; + left: parent.left; + bottom: parent.bottom; + } + width: Units.iconSizes.medium; source: "user" //TODO: use ocs once we don't need to depend on attica, was using gravatar but it didn't feel right fallback: "user" } QQC2.Label { - Layout.fillWidth: true - text: qsTr("%1 <%2>").arg(modelData.name).arg(modelData.emailAddress); + id: nameLabel; + anchors { + top: parent.top; + right: parent.right; + } + width: parent.width - Units.iconSizes.medium; + height: paintedHeight; + text: qsTr("%1 <%2>\n%3").arg(modelData.name).arg(modelData.emailAddress).arg(modelData.task); + wrapMode: Text.Wrap; + verticalAlignment: Text.AlignTop; } } }