From: Joel Holdsworth Date: Sun, 31 Mar 2013 17:58:41 +0000 (+0100) Subject: Fixed the H-scroll page width to half a screen rather than a full screen. X-Git-Tag: pulseview-0.1.0~57 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=b4ef7f2aaa12450d4e8e6b1efce5e9755d579685;ds=sidebyside Fixed the H-scroll page width to half a screen rather than a full screen. --- diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 0f9edb3f..95b8a5be 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -209,7 +209,7 @@ void View::update_scroll() get_scroll_layout(length, offset); length = max(length - areaSize.width(), 0.0); - horizontalScrollBar()->setPageStep(areaSize.width()); + horizontalScrollBar()->setPageStep(areaSize.width() / 2); _updating_scroll = true;