diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-12-02 18:45:15 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-12-03 10:43:18 +0100 |
commit | 29dfaa92b9d56f5555b511756f5b8ee62aabc0bf (patch) | |
tree | 19b128f3d531e7aee2f05e1b37fe05d1479f0def /src/imports/controls/universal/TextField.qml | |
parent | 1c17ea330cd29bc05c0463d1e13978ac5dd84ee9 (diff) |
RangeSlider: update handle positions when 'from' or 'to' value is changed
The RangeSlider's setTo() and setFrom() implementation was not updating
the positions of the handles. This patch fixes it and aligns the
behavior with the basic Slider.
This commit is cherry-picked from qtdeclarative repo of the dev branch,
because QuickControls2 were merged into that repo in Qt 6.
Fixes: QTBUG-98482
Change-Id: I482c416f91be2b97af1d922305dfe6fc1f5bd573
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 7ff266ff782b35817d3ecc1a08c3a54bd2c2aa88)
Diffstat (limited to 'src/imports/controls/universal/TextField.qml')
0 files changed, 0 insertions, 0 deletions