Commit 2c541ac8 authored by Thomas Surrel's avatar Thomas Surrel

[Device Notifier] Fix action button vertical alignment

Test Plan:
Before
{F6462112}

After
{F6462113}

Reviewers: #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: abetts, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17420
parent ab47422c
......@@ -231,6 +231,7 @@ MouseArea {
}
PlasmaComponents.Label {
id: actionMessage
width: parent.width
height: undefined
opacity: 0.6
......@@ -304,6 +305,7 @@ MouseArea {
id: actionButton
visible: !busyIndicator.visible && deviceItem.actionVisible
onClicked: actionTriggered()
y: mounted ? deviceLabel.height + (freeSpaceBar.height - height - units.smallSpacing) / 2 : (deviceLabel.height + actionMessage.height - height) / 2
}
PlasmaComponents.BusyIndicator {
......
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