mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 02:23:38 +02:00
Setting slider handle.
Stolen from PR #1422. Signed-off-by: armored-dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
d5f0479e7e
commit
d9f4762109
2 changed files with 11 additions and 4 deletions
|
@ -65,9 +65,17 @@ Item {
|
|||
handle: Rectangle {
|
||||
x: slider.leftPadding + slider.visualPosition * (slider.availableWidth - width)
|
||||
y: slider.topPadding + slider.availableHeight / 2 - height / 2
|
||||
implicitWidth: 5
|
||||
implicitHeight: 20
|
||||
color: "#5153bd"
|
||||
implicitWidth: 20
|
||||
implicitHeight: 40
|
||||
color: "black"
|
||||
|
||||
Rectangle {
|
||||
width: 16
|
||||
height: 36
|
||||
color: "gray"
|
||||
anchors.horizontalCenter: parent.horizontalCenter;
|
||||
anchors.verticalCenter: parent.verticalCenter;
|
||||
}
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
// TODO: Fullscreen display?
|
||||
// TODO: Replace bool setting with switch?
|
||||
// FIXME: Setting slider handle
|
||||
// TODO: Setting slider incorrect radius around filled background?
|
||||
// FIXME: Combobox overflows text onto arrow visual
|
||||
|
||||
|
|
Loading…
Reference in a new issue