Commit 9a0e7d83 authored by Eric Petit's avatar Eric Petit

modules/gui/beos/PreferencesWindow.cpp: cosmetic

parent 6e38b407
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* PreferencesWindow.cpp: beos interface * PreferencesWindow.cpp: beos interface
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN * Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: PreferencesWindow.cpp,v 1.18 2003/05/07 17:27:30 titer Exp $ * $Id: PreferencesWindow.cpp,v 1.19 2003/05/08 10:45:50 titer Exp $
* *
* Authors: Eric Petit <titer@videolan.org> * Authors: Eric Petit <titer@videolan.org>
* *
...@@ -429,6 +429,7 @@ void PreferencesWindow::UpdateScrollBar() ...@@ -429,6 +429,7 @@ void PreferencesWindow::UpdateScrollBar()
if( max < 0 ) max = 0; if( max < 0 ) max = 0;
scrollBar->SetRange( 0, max ); scrollBar->SetRange( 0, max );
scrollBar->SetProportion( visible.Height() / total.Height() ); scrollBar->SetProportion( visible.Height() / total.Height() );
scrollBar->SetSteps( 10, 100 );
} }
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment