Commit 8525cf12 authored by Nate Graham's avatar Nate Graham 🔩

[applet] Port placeholder messages to PlasmaExtras.PlaceholderMessage

parent 04ebefd2
......@@ -624,29 +624,20 @@ Item {
}
}
PlasmaExtras.Heading {
level: 4
enabled: false
width: parent.width
height: scrollView.height
visible: streamsView.visible && !sinkInputView.count && !sourceOutputView.count
text: i18n("No applications playing or recording audio")
wrapMode: Text.WordWrap
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
}
}
PlasmaExtras.Heading {
level: 4
enabled: false
width: parent.width
height: scrollView.height
visible: devicesView.visible && !sinkView.count && !sourceView.count
text: i18n("No output or input devices found")
wrapMode: Text.WordWrap
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
}
PlasmaExtras.PlaceholderMessage {
width: parent.width - (PlasmaCore.Units.largeSpacing * 4)
anchors.centerIn: parent
visible: streamsView.visible && !sinkInputView.count && !sourceOutputView.count
text: i18n("No applications playing or recording audio")
}
PlasmaExtras.PlaceholderMessage {
width: parent.width - (PlasmaCore.Units.largeSpacing * 4)
anchors.centerIn: parent
visible: devicesView.visible && !sinkView.count && !sourceView.count
text: i18n("No output or input devices found")
}
}
}
......
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