Commit 92a98735 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Show tooltip on action when text doesn't fit

Differential Revision: https://phabricator.kde.org/D12676
parent 46c05370
......@@ -396,6 +396,7 @@ MouseArea {
Layout.preferredWidth: minimumWidth
Layout.maximumWidth: actionsColumn.Layout.maximumWidth
text: model.text
tooltip: width < minimumWidth ? text : ""
onClicked: notificationItem.action(model.id)
}
}
......
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