Commit 19dc0f02 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

ResultDelegate: Fix height binding loop on multiline

This binding loop was making krunner freeze when the
text expanded more than 3 lines

We shouldn't be setting the `height` on an item based on their
childrens height. Luckily, the Layout automatically calculates
this for us

BUG: 454507
FIXED-IN: 5.24.6
parent aced2520
Pipeline #182614 passed with stage
in 53 seconds
......@@ -166,9 +166,11 @@ MouseArea {
right: parent.right
leftMargin: resultDelegate.categoryWidth
}
height: Math.max(typePixmap.height, displayLabel.height, subtextLabel.height) + PlasmaCore.Units.smallSpacing
implicitHeight: labelLayout.implicitHeight
RowLayout {
id: labelLayout
anchors {
left: parent.left
right: actionsRow.left
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment