Refactor Slider component
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
This commit is contained in:
parent
564f565c36
commit
cb00a42cb8
@ -22,7 +22,7 @@ import org.kde.plasma.core 0.1 as PlasmaCore
|
||||
|
||||
// TODO: add support mouse wheel and key events
|
||||
// TODO: create a value indicator for plasma?
|
||||
PlasmaCore.FrameSvgItem {
|
||||
Item {
|
||||
id: slider
|
||||
|
||||
// Common API
|
||||
@ -81,7 +81,7 @@ PlasmaCore.FrameSvgItem {
|
||||
}
|
||||
|
||||
PlasmaCore.SvgItem {
|
||||
id: focusSvg
|
||||
id: focus
|
||||
|
||||
transform: Translate { x: - handle.width / 2 }
|
||||
anchors {
|
||||
@ -207,6 +207,4 @@ PlasmaCore.FrameSvgItem {
|
||||
property: "x"
|
||||
value: range.position
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user