PDA

View Full Version : ScrollZoomer vertical scroll direction



saasen
6th June 2013, 10:05
The vertical scroll direction in the Realtime example works opposite to what most users expect. The logic for inverted axis work however. I found if I changed ScrollBar::isInverted() to:


bool ScrollBar::isInverted() const
{
if (orientation() == Qt::Vertical)
return !d_inverted;
else
return d_inverted;
}


it works as expected :)

DarkForceOne
16th December 2013, 20:30
Thanks! This solves my problem too. :)