Changeset - 7fe690434e2e
[Not reviewed]
scrollbar
0 1 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2016-10-29 15:19:46
hy@ozderya.net
invert the vertical scroll bar for a more natural feeling
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/scrollzoomer.cpp
Show inline comments
 
@@ -348,7 +348,7 @@ void ScrollZoomer::updateScrollBars()
 
    {
 
        ScrollBar *sb = scrollBar( Qt::Vertical );
 
        sb->setPalette( plot()->palette() );
 
        sb->setInverted( !plot()->axisScaleDiv( yAxis ).isIncreasing() );
 
        sb->setInverted( plot()->axisScaleDiv( yAxis ).isIncreasing() );
 
        sb->setBase( zoomBase().top(), zoomBase().bottom() );
 
        sb->moveSlider( zoomRect().top(), zoomRect().bottom() );
 

	
0 comments (0 inline, 0 general)