D21075: [QQC2 Slider Style] Fix wrong handle positioning when initial value is 1

Filip Fila noreply at phabricator.kde.org
Wed May 8 20:57:48 BST 2019


filipf added a comment.


  So I looked up Google's documentation and it turns out sliders do have to be mirrored:
  https://material.io/design/usability/bidirectionality.html#mirroring-elements
  https://material.io/design/components/sliders.html#usage
  
  As for the implementation, @broulik mentioned it would be better to use `controlRoot.mirrored` for mirroring and `controlRoot.visualPosition` for value. I couldn't come up with something that would work well, but if anyone has ideas I'll change the current code.

REPOSITORY
  R858 Qt Quick Controls 2: Desktop Style

REVISION DETAIL
  https://phabricator.kde.org/D21075

To: filipf, mart, #plasma, ngraham, broulik
Cc: broulik, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190508/3ab169cd/attachment.html>


More information about the Plasma-devel mailing list