~faenil/ubuntu-ui-toolkit/scrollbar_moreHoverFixesAndTests

Viewing all changes in revision 1961.

  • Committer: Andrea Bernabei
  • Date: 2016-08-26 20:39:41 UTC
  • Revision ID: andrea.bernabei@canonical.com-20160826203941-57c12rywrntuuxi2
Scrollbar: remove leftover margins around the area handling interaction with the thumb

It is a leftover from the previous implementation. 
For a vertical (horizontal) scrollbar the input area of the THUMB is already
as wide (tall) as the TROUGH, so there is some error margin around the
thumb already.

Plus, at the moment these margins are not actually serving a purpose
because the MouseArea is inside a smaller element (the trough Item), 
which prevents it from receiving the mouse events falling in that area

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: