Commit 20375964 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[ResultDelegate] Workaround subtextLabel leaking outside its container

When displayLabel is too long, QtQuick Layout will shift the subtextLabel outside
but still render it leading to it overlapping the action buttons
parent b17f3440
......@@ -205,7 +205,9 @@ MouseArea {
text: model.isDuplicate > 1 || resultDelegate.isCurrent ? String(model.subtext || "") : ""
color: theme.textColor
opacity: 0.3
// HACK If displayLabel is too long it will shift this label outside boundaries
// but still render the text leading to it overlapping the action buttons looking horrible
opacity: width > 0 ? 0.3 : 0
height: undefined
......
Markdown is supported
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