diff --git a/lib/qml/ResultDelegate.qml b/lib/qml/ResultDelegate.qml --- a/lib/qml/ResultDelegate.qml +++ b/lib/qml/ResultDelegate.qml @@ -151,7 +151,7 @@ right: parent.right leftMargin: Globals.CategoryWidth } - height: typePixmap.height + height: Math.max(typePixmap.height, displayLabel.height, subtextLabel.height) RowLayout { anchors { @@ -173,10 +173,11 @@ id: displayLabel text: String(typeof modelData !== "undefined" ? modelData : model.display) - height: typePixmap.height + height: undefined elide: Text.ElideMiddle wrapMode: Text.NoWrap + verticalAlignment: Text.AlignVCenter Layout.maximumWidth: parent.width - displayLabel.x } @@ -188,10 +189,11 @@ color: theme.textColor opacity: 0.3 - height: typePixmap.height + height: undefined elide: Text.ElideMiddle wrapMode: Text.NoWrap + verticalAlignment: Text.AlignVCenter Layout.fillWidth: true } }