]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.cpp
Revert "View: Decouple horizontal scrolling from the scoll bar"
[pulseview.git] / pv / view / view.cpp
index 10f6613c55da3fd2f362e51c67ff365a708b4359..34676334dc67867ba9b17fa064498232693e74e0 100644 (file)
@@ -228,7 +228,7 @@ void View::update_scroll()
 
 void View::reset_signal_layout()
 {
-       int offset = SignalMargin;
+       int offset = SignalMargin + SignalHeight;
        const vector< shared_ptr<Signal> > sigs(_session.get_signals());
        BOOST_FOREACH(shared_ptr<Signal> s, sigs) {
                s->set_v_offset(offset);