[Panel] Fix min/max size sliderhandles

Review Request #124481 - Created July 26, 2015 and submitted

Information
David Kahles
plasma-desktop
7ccb4b0...
Reviewers
plasma

The x (or y) position to value calculation differed from the
value to x (or y) calulation.
This lead to strange behavior if the sliders were moved slowly (only
when panel alignment is center): Though the mouse was moved slowly,
the sliders moved very fast, sometimes even in the opposide direction.

Can I use this as a commit message or is it too verbose?

Changing the panel size (min- and maximum size) works well in all alignments.

Marco Martin
David Kahles
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 30d283edb5d928f48ac05d340142df25b40bd425 by David Kahles to branch master.
Loading...