Logo Search packages:      
Sourcecode: kdenlive version File versions

void TrackView::slotUpdateVerticalScroll ( int  min,
int  max 
) [private, slot]

Adjusts the margins of the header area.

Avoid a shift between header area and trackview if the horizontal scrollbar is visible and the position of the vertical scrollbar is maximal

Definition at line 1075 of file trackview.cpp.

{
    int height = 0;
    if (max > 0) height = m_trackview->horizontalScrollBar()->height() - 1;
    headers_container->layout()->setContentsMargins(0, m_trackview->frameWidth(), 0, height);
}

Generated by  Doxygen 1.6.0   Back to index