Commit b9aba6eb authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[lookandfeel] Port OSD's slider to PlasmaComponents3

It has more correct vertical sizing, which now matters with the new
OSD design.
parent 4ed46dfe
......@@ -19,7 +19,7 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.extras 2.0 as PlasmaExtra
import QtQuick.Window 2.2
......@@ -38,12 +38,12 @@ RowLayout {
visible: valid
}
PlasmaComponents.ProgressBar {
PlasmaComponents3.ProgressBar {
id: progressBar
Layout.fillWidth: true
visible: rootItem.showingProgress
minimumValue: 0
maximumValue: 100
from: 0
to: 100
value: Number(rootItem.osdValue)
}
......
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