Keep scrollbars on top of timeline widget.

This commit is contained in:
Jonathan Moore Liles 2008-02-28 21:34:03 -06:00
parent f8ab34b914
commit 8a1a6d7fe3
1 changed files with 4 additions and 0 deletions

View File

@ -172,6 +172,10 @@ Timeline::Timeline ( int X, int Y, int W, int H, const char* L ) : Fl_Group( X,
}
/* make sure scrollbars are on top */
add( vscroll );
add( hscroll );
vscroll->range( 0, tracks->h() );
redraw();