Because your x
is not bind to the Slider.value
. When you bind Slider.value
to x
, if x
change, Slider.value
will also change BUT if Slider.value
change (when you slide it), x
value will not be change.
To solve this you can use the alias type
property alias x: slider.value // assume the Slider has a id of "slider"