From: Joel Holdsworth Date: Sat, 7 Dec 2013 23:09:42 +0000 (+0000) Subject: Removed use of LabelMarginWidth X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=f3f98f8fade1cffb28161da2710dfc9def5e6d74 Removed use of LabelMarginWidth --- diff --git a/pv/view/view.cpp b/pv/view/view.cpp index f727cc3..3137dd0 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -143,7 +143,7 @@ int View::v_offset() const void View::zoom(double steps) { - zoom(steps, (width() - LabelMarginWidth) / 2); + zoom(steps, _viewport->width() / 2); } void View::zoom(double steps, int offset)