Commit 19e8b39b authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Notifications] Ensure "Open" and "More Options" button have the same height

BUG: 407460

Differential Revision: https://phabricator.kde.org/D21181
parent f6f04651
......@@ -141,6 +141,7 @@ ColumnLayout {
PlasmaComponents.Button {
id: otherFileActionsButton
height: Math.max(implicitHeight, openButton.implicitHeight)
iconName: "application-menu"
tooltip: i18n("More Options...")
checkable: true
......@@ -162,6 +163,8 @@ ColumnLayout {
}
PlasmaComponents.Button {
id: openButton
height: Math.max(implicitHeight, otherFileActionsButton.implicitHeight)
// would be nice to have the file icon here?
text: jobItem.jobDetails && jobItem.jobDetails.totalFiles > 1 ? i18n("Open Containing Folder") : i18n("Open")
onClicked: jobItem.openUrl(jobDoneActions.url)
......
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